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 30.154.982 Times

Piffle::Template 0.3.1

  Date Added: October 15, 2010  |  Visits: 784

Piffle::Template

Report Broken Link
Printer Friendly Version


Product Homepage
Download (77 downloads)

Piffle::Template is a Perlish templating language. SYNOPSIS use Piffle::Template; use Piffle::Template qw{template_to_perl expand_template}; # OO syntax, with output stored and returned: print Piffle::Template->expand(source_file => foo/fish.xml, include_path => [foo/inc,foo]); # Immediate: OO syntax: output goes directly to STDOUT: Piffle::Template->expand(source_file => foo/fish.xml, output_file => *STDOUT); # Procedural syntax, data from a string $string = <<__END__; < ?perl for $world (1 .. 10) { ? > Hello world number {$world}. < ?perl print random_greeting(); ? > < ?perl } ? > < ?include std_disclaimer.txt? > __END__ expand_template(source => $string, output_file => *FILE); This is a simple Perl-embedding syntax for template code which is geared towards allowing authors to validate their templates directly against schemas or DTDs. The embedded language is Perl itself, which allows great flexibility at the expense of having to be disciplined about the barrier between template code and module code. In operation, the source template is transformed to an in-memory Perl script which is then run using Perls eval operator. Errors can be redirected to files or subroutines, and the output can be either caught in a variable or written to a file or open filehandle..

Requirements: No special requirements
Platforms: Linux
Keyword: File Libraries Output Perl Piffletemplate Programming Source Template Templating
Users rating: 0/10

License: Freeware Size: 9.22 KB
PIFFLE::TEMPLATE RELATED
Libraries  -  HCKit::Template 0.02
HCKit::Template is a Perl module with a template system for HTML construction. This module constructs an HTML page from a template. The conversion proceeds with the help of rewrite rules and data sources. Rewrite rules can be specified in the...
11.26 KB  
Libraries  -  App::Conf::File 0.965
App::Conf::File is a Perl module to load and access configuration data. SYNOPSIS use App::Conf; $config = App::Conf->new(); $config = App::Conf->new(configFile => $file); print $config->dump(), "n"; # use Data::Dumper to spit out the Perl...
122.88 KB  
Libraries  -  PostScript::File 1.01
PostScript::File is a Perl base class for creating Adobe PostScript files. SYNOPSIS use PostScript::File qw(check_tilde check_file incpage_label incpage_roman); Simplest An hello world program: use PostScript::File; my $ps = new...
22.53 KB  
Libraries  -  Filter::decrypt 1.33
Filter::decrypt Perl module contains a template for a decrypt source filter. SYNOPSIS use Filter::decrypt ; This is a sample decrypting source filter. Although this is a fully functional source filter and it does implement a very simple...
40.96 KB  
Libraries  -  SVG::Template::Graph 0.11
SVG::Template::Graph is a Perl extension for generating template-driven graphs with SVG. SYNOPSIS use SVG::Template::Graph; $data = [ { barGraph=>1,# barSpace=>20, title=> 1: Trace 1, data => #hash ref containing x-val and y-val array...
 
Libraries  -  Template::Manual::Directives 2.19
Template::Manual::Directives is a Perl module that contains template directives. Accessing and Updating Template Variables GET The GET directive retrieves and outputs the value of the named variable. [% GET foo %] The GET keyword is...
778.24 KB  
Libraries  -  Net::FTP::File 0.05
Net::FTP::File is a Perl extension for simplifying FTP file operations. SYNOPSIS use Net::FTP::File; my $ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Cannot connect to some.host.name: $@"; $ftp->login("anonymous",-anonymous@)...
6.14 KB  
Libraries  -  Tie::File 0.96
Tie::File can access the lines of a disk file via a Perl array. SYNOPSIS # This file documents Tie::File version 0.96 use Tie::File; tie @array, Tie::File, filename or die ...; $array[13] = blah; # line 13 of the file is now blah print...
67.58 KB  
Libraries  -  Template::Alloy::TT 1.005
Template::Alloy::TT Perl module contains a Template::Toolkit role. The Template::Alloy::TT role provides the syntax and the interface for Template::Toolkit version 1, 2, and 3. It also brings many of the features from the various templating...
143.36 KB  
Libraries  -  Config::File 1.4
Config::File is a Perl module to parse a simple configuration file. SYNOPSIS use Config::File; my $config_hash = Config::File::read_config_file($configuration_file); read_config_file parses a simple configuration file and stores its values...
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.12.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