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

Data::Stag::HashDB 0.10

  Date Added: November 14, 2010  |  Visits: 751

Data::Stag::HashDB

Report Broken Link
Printer Friendly Version


Product Homepage
Download (129 downloads)



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); Data::Stag->parse(-file=>$fn, -handler=>$hdb); my $person = $obj->{999-9999-9999}; print $person->xml; # indexing an existing stag tree into a hash my $personset = Data::Stag->parse($fn); my $hdb = Data::Stag::HashDB->new; $hdb->unique_key("ss_details/social_security_no"); $hdb->record_type("person"); my $obj = {}; $hdb->index_hash($obj); $personset->sax($hdb); my $person = $obj->{999-9999-9999}; print $person->xml; You need to provide a record_type - this is the type of element that will be indexed You need to provide a unique_key - this is a single value used to index the record_types For example, if we have data in the stag structure below, and if ss_no is unique (we assume it is) then we can index all the people in the database using the code above publicinfo: persondata: person: ss_details: social_security_no: name: address: There is a subclass of this method callsed Data::Stag::StagDB, which makes the hash persistent.

Requirements: No special requirements
Platforms: Linux
Keyword: Datastaghashdb Hash Hashdb Libraries Programming Record Ss Stag Type Used
Users rating: 0/10

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


DATA::STAG::HASHDB RELATED
Libraries  -  Perl6::Contexts 0.4
Perl6::Contexts - array and hash variables turn into references to themselves when used in non-numeric scalar context or as function arguments. SYNOPSIS my @foo = ( 1 .. 20 ); my $foo = @foo; # same as: my $foo = @foo; my $foo = 0 + @foo; #...
17.41 KB  
Libraries  -  Parse::Binary::FixedFormat 0.10
Parse::Binary::FixedFormat is a Perl module to convert between fixed-length fields and hashes. SYNOPSIS use Parse::Binary::FixedFormat; my $tarhdr = new Parse::Binary::FixedFormat [ qw(name:a100 mode:a8 uid:a8 gid:a8 size:a12 mtime:a12...
31.74 KB  
Libraries  -  DBIx::Recordset 0.26
DBIx::Recordset is a Perl extension for DBI recordsets. SYNOPSIS use DBIx::Recordset; # Setup a new object and select some recods... *set = DBIx::Recordset -> Search ({!DataSource => dbi:Oracle:...., !Table => users, $where => name = ?...
94.21 KB  
Libraries  -  hashit 0.9.4
hashit is a generic hash library. hashit implements diverse collision handling methods. This function creates a hash table which is returned as a hash_t type. errno is set to ENOMEM if there wasnt enough memory avaliable for creating the...
28.67 KB  
Libraries  -  C Algorithms Library 1.0.0
C Algorithms Library is a collection of commonly used Computer Science algorithms. The focus is on code that is well documented and tested, portable, and reusable. The C Programming Language has a much smaller standard library compared to...
337.92 KB  
Libraries  -  Mail::DKIM::Signature 0.26
Mail::DKIM::Signature module encapsulates a DKIM signature header. CONSTRUCTORS new() - create a new signature from parameters my $signature = new Mail::DKIM::Signature( [ Algorithm => "rsa-sha1", ] [ Signature => $base64, ] [ Method =>...
47.1 KB  
Libraries  -  fields::aliased 1.05
fields::aliased is a Perl module that can create aliases for object fields. SYNOPSIS package MyPackage; use strict; use fields qw($scalar @array %hash); sub new { my $class = shift; my $self = fields::new($class); return $self; }...
8.19 KB  
Libraries  -  CAD::Drawing::IO::PgDB 0.03
CAD::Drawing::IO::PgDB is a Perl module with PostgreSQL save / load methods. This module is considered pre-ALPHA and under-documented. Its use is strongly discouraged except under experimental conditions. Particularly susceptible to change will...
8.19 KB  
Libraries  -  Catalyst::Helper::Doc 0.04
Catalyst::Helper::Doc is a documentation page generator. SYNOPSIS # execute helper script. script/myapp_create.pl Doc # you can set description # default is "Catalyst based application" script/myapp_create.pl Doc "This is description!"...
2.05 KB  
Specialized Tools  -  Agena 1.12.8b
Agena is an easy-to-learn procedural programming language designed to be used in scientific, educational, linguistic, and many other applications, including scripting. Its syntax looks like very simplified Algol 68 with elements taken from...
3.13 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