RE: store and edit perl hash data

2010-06-21 Thread Bob McConnell
From: Uri Guttman >> "pp" == philge philip writes: > > pp> is it possible to change values of my hash "%position_counts" > pp> stored in the file without retrieving it back using "fd_retrieve"? > > pp> if its not possible can you tell me how to store a huge hash data > pp> to a file or d

Re: store and edit perl hash data

2010-06-19 Thread Uri Guttman
> "pp" == philge philip writes: pp> is it possible to change values of my hash "%position_counts" pp> stored in the file without retrieving it back using "fd_retrieve"? pp> if its not possible can you tell me how to store a huge hash data pp> to a file or dbm and edit it without retr

Re: store and edit perl hash data

2010-06-19 Thread John W. Krahn
philge philip wrote: hi Hello, in the below script: use Storable qw(store_fd fd_retrieve); my %position_counts = ('name' => 'rahul'); open(OUT1, ">temp.txt"); store_fd(\%position_counts, *OUT1) || die "can't store to temp.txt\n"; close(OUT1); is it possible to change values of my hash

Re: store and edit perl hash data

2010-06-19 Thread Shlomi Fish
Hi, On Saturday 19 Jun 2010 12:56:36 philge philip wrote: > hi > > > in the below script: > > use Storable qw(store_fd fd_retrieve); > A few notes about your code. Please go over: http://perl.net.au/wiki/Freenode_Sharp_Perl_FAQ And: http://www.perlfoundation.org/perl5/index.cgi?ancient_per