more useful options | |
PerlMonks |
Re: How do you save a perl script?by Dominus (Parson) |
on Mar 25, 2001 at 19:52 UTC ( [id://67028]=note: print w/replies, xml ) | Need Help?? |
Says Adam:
Don't. Instead, save the variable to a separate state file using Data::Dumper, then eval it back into your program.Holy cow. Dude, it's a counter file. It's just a number. What for you have to use Data::Dumper? Wowsers, talk about using a sledge hammer to squish a mosquito!
In Section
Seekers of Perl Wisdom
|
|