Perl Monk, Perl Meditation | |
PerlMonks |
RE: Data::Dumperby Anonymous Monk |
on Nov 10, 2000 at 06:51 UTC ( [id://40884]=note: print w/replies, xml ) | Need Help?? |
Another Data::Dumper trick-
For quick and dirty state persistence over multiple
invocations of a program, use a single hash for all your
state info. Dumper() a reference to it into a file when
the program exits, and require() that file the next time
the program starts up.
booom. You're right back where you left off.
In Section
Module Reviews
|
|