Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Does anyone know how to do this in Perl?

by duxup (Novice)
on Apr 21, 2000 at 16:06 UTC ( #8363=note: print w/ replies, xml ) Need Help??


in reply to I work out/exercise this often

I'm trying to work out or exercise, but it's just not working for me. Does anyone know how to do this in Perl?


Comment on Does anyone know how to do this in Perl?
Replies are listed 'Best First'.
RE: Does anyone know how to do this in Perl?
by Simplicus (Monk) on Apr 21, 2000 at 18:33 UTC
    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://8363]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2015-08-02 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (10 votes), past polls