http://www.perlmonks.org?node_id=915319


in reply to Re: When I die, I will...
in thread When I die, I will...

That would kinda imply using a "goto". Good practice would be "use afterlife; &heaven".
Just Another Perl, Python, Ruby and C hacker.

Replies are listed 'Best First'.
Re^3: When I die, I will...
by jdporter (Paladin) on Jul 19, 2011 at 14:05 UTC

    No no no. The modern, structured replacement for GOTO (long jump) is exceptions.

    while(1) { # eternal ... if ( -T _ ) { # terminal. yuk yuk die "OUTAHERE"; # or croak } }
    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Re^3: When I die, I will...
by cdarke (Prior) on Jul 19, 2011 at 12:40 UTC
    But that would imply a return...

    or maybe goto &heaven containing an infinite loop? So death is just a form of AUTOLOAD.