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.548.880 Times

Template::Ast 0.02

  Date Added: January 18, 2010  |  Visits: 1.164

Template::Ast

Report Broken Link
Printer Friendly Version


Product Homepage
Download (135 downloads)



Template::Ast is a Perl module to process ASTs for Perl Template Toolkit. SYNOPSIS use Template::Ast; # Rebuild AST stored in file: $ast = Template::Ast->read(foo.ast) or die Template::Ast->error(); # Writing existing AST to file: $ast = { Marry => [24, F], John => [21, M] }; Template::Ast->write($ast, foo.ast) or die Template::Ast->error(); $ast = Template::Ast->merge([1,2,3], undef); # [1,2,3] $ast = Template::Ast->merge(undef, [1,2,3]); # [1,2,3] $ast = Template::Ast->merge(undef, undef); # undef $ast = Template::Ast->merge({A=>1,B=>2}, [C]); # [C] $ast = Template::Ast->merge([1,2,3], [5,6]); # [5,6] $ast = Template::Ast->merge([{A=>1},2], 5); # 5 $ast = Template::Ast->merge({A=>1,B=>2}, {C=>3}); # {A=>1,B=>2,C=>3} $ast = Template::Ast->merge({A=>1,B=>2}, {B=>3}); # {A=>1,B=>3} # {A=>1,B=>2} $ast = Template::Ast->merge({A=>1,B=>undef}, {A=>undef,B=>2}); Template::Ast->merge( {A=>1,B=>{C=>1,D=>2}}, {B=>{C=>1,D=>3,E=>4}} ); # {A=>1,B=>{C=>1,D=>3,E=>4}} Template::Ast->merge( {A=>1,B=>{C=>[1,2]}}, {B=>{C=>[3,4]}} ); # {A=>1,B=>{C=>[3,4]}} print Template::Ast->dump([$vars], [vars]); ASTs are essential in the programming model based on Perl Template Toolkit. This module provides some easy interface to do the dirty work involved in AST handling. The term AST used here are referred to any Perl referece pointed to a complex data structure, such as a nested hash, a nested array, or such..

Requirements: No special requirements
Platforms: Linux
Keyword: Asts Libraries Merge Perl Perl Module Perl Template Toolkit Programming Template Templateast Undef
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


TEMPLATE::AST RELATED
Libraries  -  Template::Provider::OpenOffice 0.01
Template::Provider::OpenOffice is a OpenOffice (ODT) Provider for Template Toolkit. This module extends Template::Provider to automatically extract the content.xml file from an OpenOffice zip file and run it through Template::Toolkit for...
3.07 KB  
Libraries  -  PerlPoint::Template::TT2 0.02
PerlPoint::Template::TT2 is a beta of a PerlPoint template processor for Template Toolkit 2 layouts. METHODS new() Parameters: class The class name. Returns: the new object. Example: # start page $result.="nnnn"; # begin header...
6.14 KB  
Libraries  -  Template::Tutorial::Datafile 2.15
Template::Tutorial::Datafile is a Perl module for creating Data Output Files Using the Template Toolkit. This tutorial gives an overview of the Template Toolkit, showing in particular how to use it to read and write data files in various...
778.24 KB  
Libraries  -  Template::Multilingual 0.08
Template::Multilingual is a Perl module with multilingual templates for Template Toolkit. SYNOPSIS This subclass of Template Toolkits Template class supports multilingual templates: templates that contain text in several languages. <...
5.12 KB  
Libraries  -  Template::TT2Site 0.95
Template::TT2Site is a Perl module to create standard web sites with the Template Toolkit. SYNOPSIS $ mkdir NewSite $ cd NewSite $ tt2site setup ... make your pages ... $ tt2site build ... point your browser at html/index.html ......
35.84 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  -  Syntax::Highlight::Perl 1.0
Syntax::Highlight::Perl is a Perl module that can highlight Perl Syntactical Structures. SYNOPSIS # simple procedural use Syntax::Highlight::Perl :BASIC; # or :FULL print format_string($my_string); # OO use Syntax::Highlight::Perl; my...
33.79 KB  
Libraries  -  ExtUtils::ModuleMaker::TT 0.93
ExtUtils::ModuleMaker::TT is a Perl module that makes skeleton modules with Template Toolkit templates. SYNOPSIS use ExtUtils::ModuleMaker; my $mmtt = ExtUtils::ModuleMaker->new ( NAME => My::New::Module, ALT_BUILD =>...
25.6 KB  
Libraries  -  Code::Perl 0.03
Code::Perl is a Perl module to produce Perl code from a tree. SYNOPSIS use Code::Perl::Expr qw( :easy ); my $c = derefh(scal(hash), calls(getkey)); print $c->perl; # ($hash)->{getkey()} Code::Perl allows you to build chunks of Perl code...
17.41 KB  
Libraries  -  Blatte 0.9.4
Blatte is a Perl module with text macro/markup/template language. SYNOPSIS use Blatte; use Blatte::Builtins; my $perl = &Blatte::Parse(...some Blatte program ...); if (defined($perl)) { my $result = eval $perl; if (defined($result)) {...
31.74 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  -  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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB