in reply to Re: Running a sub before a script exits?
in thread Running a sub before a script exits?

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.

  • Comment on Re: Re: Running a sub before a script exits?