There's more than one way to do things | |
PerlMonks |
Re: Running a sub before a script exits?by dws (Chancellor) |
on Aug 25, 2002 at 04:09 UTC ( [id://192631]=note: print w/replies, xml ) | Need Help?? |
I am using the below code in a script and cannot figure out how to automatically run the sub save_config before the script exits.
Ignore that. rattusillegitimus has a better answer below.
In Section
Seekers of Perl Wisdom
|
|