in reply to Re: How to save and reload my hash
in thread How to save and reload my hash
Storable works great for me! Thanks to a five year old post.
perl -e ' use Storable; my $hashfile="file.hash"; store {}, $hashfile unless -r $hashfile; my $hash=retrieve($hashfile); print join(",", %$hash), "\n"; $hash->{"index"}++; store $hash, $hashfile; '
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to save and reload my hash
by Your Mother (Archbishop) on Sep 23, 2014 at 03:23 UTC | |
by dcronin135 (Acolyte) on Sep 25, 2014 at 03:58 UTC | |
by Your Mother (Archbishop) on Sep 25, 2014 at 15:50 UTC |