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

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

Serving Software Downloads in 956 Categories, Downloaded 50.321.250 Times

Text::PORE 1.02

  Date Added: May 14, 2010  |  Visits: 1.515

Text::PORE

Report Broken Link
Printer Friendly Version


Product Homepage
Download (103 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
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  -  Set::Infinite 0.61
Set::Infinite Perl module contains sets of intervals. SYNOPSIS use Set::Infinite; $set = Set::Infinite->new(1,2); # [1..2] print $set->union(5,6); # [1..2],[5..6] Set::Infinite is a Set Theory module for infinite sets. A set is a...
49.15 KB  
Development Tools  -  What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples 1.0
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files...
112.64 KB  
Libraries  -  perl58delta 5.8.8
perl58delta Perl module contains information about what is new for perl v5.8.0. This document describes differences between the 5.6.0 release and the 5.8.0 release. Many of the bug fixes in 5.8.0 were already seen in the 5.6.1 maintenance...
12.2 MB  
Libraries  -  B::Generate 1.06
B::Generate is a Perl module which you can create your own op trees. SYNOPSIS use B::Generate; # Do nothing, slowly. CHECK { my $null = new B::OP("null",0); my $enter = new B::OP("enter",0); my $cop = new B::COP(0, "hiya", 0); my $leave...
12.29 KB  
Modules  -  gender and name 1.0
This is a simple way to change Welcome $name into Welcome $gender $Lastname which is displayed on index.php.
 
Code Management Tools  -  Virgil B-03
Virgil projetc is an new, object-oriented, light-weight programming language that is designed for building software for resource-constrained embedded systems at the lowest level. Microcontroller programmers can now develop complete software...
583.68 KB  
Libraries  -  PostScript::Graph::Style 1.02
SYNOPSIS Simplest Each time a new object is created the default style will be slightly different. use PostScript::File; use PostScript::Graph::Style; my $file = new PostScript::File(); my $seq = new PostScript::Graph::Sequence(); while...
55.3 KB  
Libraries  -  CGI::WeT::Modules::Calendar 0.71
CGI::WeT::Modules::Calendar are Perl extensions to engine to allow calendar management. SYNOPSIS use CGI::WeT::Modules::Calendar (); This module provides rendering constructs to allow navigation through a set of calendars. Support is...
40.96 KB  
Programming  -  x10 0.3.2
X10 project is a new object-oriented, type-safe programming language for programming the next generation of high performance systems. X10 is designed and developed by IBM. While developed in close contact with the designers of X10 at IBM there...
8.1 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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