I am trying to use Storable to store the contents of a hash to be used over and over 
by the
program which will run at different times.
The program seems to run just fine. The file dates are updated. But the contents never
seem to change. a code snippet is

if(-e $filename) {
    print "file found\n";
    $table = retrieve($filename); # load hash table
}
blse { %table = (); print "file notfound\n";} # initialize empty table

put some values into %table

$table{$key} = counter;

store (\%table, $filename);

then when I retrieve the file the second time the data hasn't changed.

Does anybody have a code snippet that works that demonstrates Storage.
I must be missing something simple.
Howard Jarea
University of Houston
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to