RuneK has asked for the wisdom of the Perl Monks concerning the following question:
Output is:use Storable; use strict; my @array1 = ('a','b','c','d'); my @array2 = (); print $#array1."\n"; store(\@array1,"file") or die "Cannot store\n"; @array2 = retrieve("file") or die "Cannot retrieve\n"; print $#array2."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't retrieve with storable
by Joost (Canon) on Sep 15, 2004 at 08:39 UTC | |
|
Re: Can't retrieve with storable
by zejames (Hermit) on Sep 15, 2004 at 08:40 UTC | |
|
Re: Can't retrieve with storable
by borisz (Canon) on Sep 15, 2004 at 08:45 UTC |