Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.877.271 Times

Text::PORE 1.02

  Date Added: May 14, 2010  |  Visits: 1.273

Text::PORE

Report Broken Link
Printer Friendly Version


Product Homepage
Download (80 downloads)

Text::PORE is a Perl Object Rendering Engine. pore intr.v. 1. To read or study carefully and attentively The American Heritage® Dictionary of the English Language, Fourth Edition SYNOPSIS How to use PORE to render Perl objects. use Text::PORE::Template; use Text::PORE::Object; The Perl object to be rendered: $obj = new Text::PORE::Object(name=>Joe Smith); @chilren = ( new Text::PORE::Object(name=>John Smith, age=>10, gender=>M), new Text::PORE::Object(name=>Jack Smith, age=>15, gender=>M), new Text::PORE::Object(name=>Joan Smith, age=>20, gender=>F), new Text::PORE::Object(name=>Jim Smith, age=>25, gender=>M), ); $obj->{children} = @chilren; The template file (demo.tpl): Name: < PORE.render attr=name > Children: < PORE.list attr=children > < PORE.render attr=name >, < PORE.render attr=age >, < PORE.if cond="gender EQ M" >Male< PORE.else >Female< /PORE.if > < /PORE.list > The code that renders the object using this template: # # create a template # $tpl = new Text::PORE::Template(file=>demo.tpl); # # render the object using the template # the result is printed to STDOUT # my $fh = new FileHandle(); $fh->open(>& STDOUT); Text::PORE::render($obj, $tpl, $fh); $fh->close(); The rendering result: Name: Joe Smith Children: John Smith, 10, Male Jack Smith, 15, Male Joan Smith, 20, Female Jim Smith, 25, Male.

Requirements: No special requirements
Platforms: Linux
Keyword: Gender Libraries Name New Object Perl Perl Object Rendering Engine Pore Pore Render Programming Smith Textpore
Users rating: 0/10

License: Freeware Size: 32.77 KB
TEXT::PORE RELATED
Libraries  -  Locale::Object::Language 0.75
Locale::Object::Language Perl module contains language information objects. Locale::Object::Language allows you to create objects containing information about languages such as their ISO codes, the countries theyre used in and so on. SYNOPSIS...
47.1 KB  
Libraries  -  Net::DRI 0.80
Net::DRI is a collection of object oriented Perl modules that provides an abstract and uniform interface to connect to domain name providers, either registries, registrars or an entity at another level. Thus Net::DRI can be used by a registrar...
 
Libraries  -  RADIUS::Packet 1.0
RADIUS::Packet is an object-oriented Perl interface to RADIUS packets. SYNOPSIS use RADIUS::Packet; use RADIUS::Dictionary; my $d = new RADIUS::Dictionary "/etc/radius/dictionary"; my $p = new RADIUS::Packet $d, $data; $p->dump; if...
43.01 KB  
Libraries  -  Audio::MadJACK 0.04
Audio::MadJACK is a Perl module to talk to MadJACK server using Object Oriented Perl. SYNOPSIS use Audio::MadJACK; my $mj = new Audio::MadJACK( osc.udp://madjack.example.net:4444/ ); $mj->load( Playlist_A/mymusic.mp3 ); $mj->play(); The...
5.12 KB  
Libraries  -  Class::Classgen::New 3.03
Class::Classgen::New is a Perl module that creates the new() method for classes generated by classgen. SYNOPSIS Used within classgen. The main purpose of New.pm is to write the new() method for a class generated by classgen. It provides code...
24.58 KB  
3D Graphic Tools  -  ogre4j 1.4.3 Beta 2
ogre4j project enables the use of the OGRE (Object-Oriented Graphics Rendering Engine) libraries in Java applications. The first approach was made by Ivica Aracic aka bytelord (http://www.bytelords.de). Thanks to him for taking the first steps!...
1024 KB  
Libraries  -  Mail::LMLM::Render 0.6300
Mail::LMLM::Render is a Perl module for rendering backend for LMLM. SYNOPSIS use Mail::LMLM::Render::HTML; open O, ">out.html"; my $r = Mail::LMLM::Render::HTML->new(*O); $r->start_document("My Document", "Head Title");...
14.34 KB  
Libraries  -  Games::Object 0.11
Games::Object is a Perl module to provide a base class for game objects. SYNOPSIS package MyGameObject; use Games::Object; use vars qw(@ISA); @ISA = qw(Games::Object); sub new { # Create object my $proto = shift; my $class =...
84.99 KB  
Libraries  -  Bio::Root::Object 1.4
Bio::Root::Object is a core Perl 5 object. SYNOPSIS # Use this module as the root of your inheritance tree. Object Creation require Bio::Root::Object; $dad = new Bio::Root::Object(); $son = new Bio::Root::Object(-name => Junior, -parent...
4.7 MB  
Libraries  -  File::Basename::Object 0.01
File::Basename::Object is a Perl module with object-oriented syntax sugar for File::Basename. SYNOPSIS my $file = File::Basename::Object->new("/path/to/a/file.html", ".htm", ".html"); if(open(my $fh, <, $file)) { print "Now reading ",...
4.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB