Genezzo::Row::RSTabGenezzo::Row::RSTab.pm is a Perl module with Row Source TABle tied hash class. | |
Download |
Genezzo::Row::RSTab Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jeffrey I. Cohen
- Publisher web site:
- http://search.cpan.org/~jcohen/Genezzo-0.72/lib/Genezzo.pm
Genezzo::Row::RSTab Tags
Genezzo::Row::RSTab Description
Genezzo::Row::RSTab.pm is a Perl module with Row Source TABle tied hash class. Genezzo::Row::RSTab.pm is a Perl module with Row Source TABle tied hash class.SYNOPSIS use Genezzo::Row::RSTab; # see Tablespace.pm -- implementation and usage is tightly tied # to genezzo engine... # make a factory for rsfile my $fac2 = make_fac2('Genezzo::Row::RSFile'); my %args = ( factory => $fac2, # need tablename, bufcache, etc... tablename => ... tso => ... bufcache => ... ); my %td_hash; $tie_val = tie %td_hash, 'Genezzo::Row::RSTab', %args; # pushhash style my @rowarr = ("this is a test", "and this is too"); my $newkey = $tie_val->HPush(@rowarr); @rowarr = ("update this entry", "and this is too"); $tied_hash{$newkey} = @rowarr; my $getcount = $tie_val->HCount();RSTab is a hierarchical pushhash (see Genezzo::PushHash::hph) class that stores perl arrays as rows in a table, writing them into a block (byte buffer) via Genezzo::Row::RSFile and Genezzo::Block::RDBlock. Requirements: · Perl
Genezzo::Row::RSTab Related Software