Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: When I die, I will...

by soniamdisappoint (Initiate)
on Jul 19, 2011 at 02:56 UTC ( [id://915319]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://915319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-29 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found