Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: Does anyone know how to do this in Perl?

by Simplicus (Monk)
on Apr 21, 2000 at 18:33 UTC ( #8375=note: print w/ replies, xml ) Need Help??


in reply to Does anyone know how to do this in Perl?
in thread I work out/exercise this often

my $life; while($life) { if($ergs_expended) { $life++; } elsif($cheetos_eaten) { $life--; } else {} } while(true) { print "regret\n";
Sorry, forgot the final code tag
Simplicus


Comment on RE: Does anyone know how to do this in Perl?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2015-07-03 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls