Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://8375]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2017-02-26 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (373 votes). Check out past polls.