[Omaha.pm] use Storable;
Jay Hannah
jay at jays.net
Sat Jan 13 10:03:30 PST 2007
Wow. That's easy.
store $stats, "stats.Storable";
...later, in a different program...
my $stats = retrieve("stats.Storable");
poof! My object and all attributes are magically back in Perl.
$stats has children objects inside it, which have children objects
inside them...
Trey: What was that other module you used? DBM/Freeze or something?
Does Storable do the same thing without adding a CPAN dependancy?
(Storable is distributed w/ Perl itself.)
j
More information about the Omaha-pm
mailing list