debian man page for data::stag::stagdb

Query: data::stag::stagdb

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Data::Stag::StagDB(3pm) 				User Contributed Perl Documentation				   Data::Stag::StagDB(3pm)

NAME
Data::Stag::StagDB - persistent storage and retrieval of stag nodes
SYNOPSIS
# parsing a file into a file based index my $sdb = Data::Stag::StagDB->new; $sdb->unique_key("ss_details/social_security_no"); $sdb->record_type("person"); $sdb->indexfile("./person_by_ss-idx"); Data::Stag->parse(-file=>$fn, -handler=>$sdb); my $obj = $sdb->index_hash; my $person = $obj->{'999-9999-9999'}; print $person->xml; # indexing an existing stag tree into a file based index my $personset = Data::Stag->parse($fn); my $sdb = Data::Stag::StagDB->new; $sdb->unique_key("ss_details/social_security_no"); $sdb->record_type("person"); $sdb->indexfile("./person_by_ss-idx"); $personset->sax($sdb); my $obj = $sdb->index_hash; my $person = $obj->{'999-9999-9999'}; print $person->xml;
DESCRIPTION
This module is an extension of Data::Stag::HashDB - you can use it in the same way. It creates a simple file based database of stag nodes This is useful if you want your data to persist; or if you want to use Data::Stag::HashDB but your data will not fit into memory PUBLIC METHODS - indexfile Usage - Returns - Args - perl v5.10.0 2008-06-03 Data::Stag::StagDB(3pm)
Related Man Pages
stag-db(1p) - debian
stag-ir(1p) - debian
bio::annotation::tagtree(3pm) - debian
bio::seqio::chaos(3pm) - debian
data::stag::writer(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph