Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Running a sub before a script exits?by Anonymous Monk |
on Aug 25, 2002 at 04:49 UTC ( [id://192638]=note: print w/replies, xml ) | Need Help?? |
Not necessarily. In most versions of Perl if your variable is pointed at by a global, it is DESTROYed haphazardly in global destruction. Therefore you may not have a config left to save when DESTROY is called. But you always should in END.
In Section
Seekers of Perl Wisdom
|
|