in reply to Re^2: Timer::Runtime proposed
in thread Timer::Runtime proposed
Alternatively, one could have consulted the manual page:$ perl -wE 'sub DESTROY {say "ping"} my $x = bless [];' ping $ perl -wE 'sub DESTROY {say "ping"} my $x = bless []; exec "echo"' $
Note that "exec" will not call your "END" blocks, nor will it invoke "DESTROY" methods on your objects.
|
---|