Stag
Data::Stag is a Perl module with structured tags datastructures. SYNOPSIS # PROCEDURAL USAGE use Data::Stag qw(:all); $doc = stag_parse($file); @persons = stag_find($doc, "person"); foreach $p (@persons) { printf "%s, %s phone: %sn", stag_sget($p, "family_name"), stag_sget($p,...
Platforms: *nix
License: Freeware | Size: 440.32 KB | Download (93): Data::Stag Download |
Data::Stag::HashDB is a perl used for building indexes over Stag files or objects. SYNOPSIS # parsing a file into a hash my $hdb = Data::Stag::HashDB->new; $hdb->unique_key("ss_details/social_security_no"); $hdb->record_type("person"); my $obj = {}; $hdb->index_hash($obj);...
Platforms: *nix
License: Freeware | Size: 440.32 KB | Download (129): Data::Stag::HashDB Download |
DBIx::DBStag is a Perl module for Relational Database to Hierarchical (Stag/XML) Mapping. SYNOPSIS use DBIx::DBStag; my $dbh = DBIx::DBStag->connect("dbi:Pg:dbname=moviedb"); my $sql = q[ SELECT studio.*, movie.*, star.* FROM studio NATURAL JOIN movie NATURAL JOIN movie_to_star...
Platforms: *nix
License: Freeware | Size: 133.12 KB | Download (100): DBIx::DBStag Download |
Template::FAQ contains Frequently Asked Questions about the Template Toolkit. Template Toolkit Language Why doesnt [% a = b IF c %] work as expected? Because the parser interprets it as [% a = (b IF c) %] Do this instead: [% SET a = b IF c %] If Im using TT to write out a TT...
Platforms: *nix
License: Freeware | Size: 778.24 KB | Download (103): Template::FAQ Download |
DBIx::DBStag::Cookbook is a Perl module for building and querying databases from XML. SYNOPSIS stag-autoddl.pl stag-storenode.pl selectall_xml.pl This will give an outline of how to build a normalised relational database from XML source data, set up SQL templates, issue relational queries...
Platforms: *nix
License: Freeware | Size: 133.12 KB | Download (90): DBIx::DBStag::Cookbook Download |
The string_glob_permute() function provided by the String::Glob::Permute Perl module expands glob-like notations in text strings and returns all possible permutations. For example, to run a script on hosts host1, host2, and host3, you might write @hosts = string_glob_permute( "host[1-3]" );...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (40): String::Glob::Permute Download |