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

Template::Ast 0.02

  Date Added: January 18, 2010  |  Visits: 1.211

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
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  -  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 3.15.3
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