No such thing as a small change | |
PerlMonks |
Re: (tye)Re: $obj-DESTROY isn't called uponby Sinister (Friar) |
on Jan 31, 2002 at 17:09 UTC ( [id://142454]=note: print w/replies, xml ) | Need Help?? |
>Um, all instances of perl under Unix are instantiated >using exec(). DESTROY doesn't get called if you script >goes away because of a successful exec. How perl was >started doesn't matter. That is not completely true. If you'd do `exec perl -e 'print "hello world\"'` on your shell, then the shell will be thrown away and be replaced with the perl interpreter. It wont return either... Sinister greetings. "With tying hashes you can do everything God and Larry have forbidden" -- Johan Vromans - YAPC::Europe 2001 perldoc -q $_
In Section
Seekers of Perl Wisdom
|
|