[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] use Storable;



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