Re: How to persist and query a hash lookup in memory with Perl ?
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Fri, 30 Nov 2007 11:15:46 +0100
Jack wrote:
once you create the tied hash like the below, and the program is done executing, how do I access the hash and query it from another Perl execution program ??
Like this, for instance:
use DB_File;
tie my %h, 'DB_File', 'fruit', O_RDONLY or die $!;
print "$_: $h{$_}\n" for keys %h;
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- References:
- How to persist and query a hash lookup in memory with Perl ?
- From: Jack
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: jackposemsky
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: Jim Gibson
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: Jack
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: Ben Morrow
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: Jack
- How to persist and query a hash lookup in memory with Perl ?
- Prev by Date: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.8 $)
- Next by Date: Re: Sorted Hash
- Previous by thread: Re: How to persist and query a hash lookup in memory with Perl ?
- Next by thread: Re: How to persist and query a hash lookup in memory with Perl ?
- Index(es):