Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: a few basic questions

by ozone (Friar)
on Aug 23, 2001 at 20:14 UTC ( #107384=note: print w/replies, xml ) Need Help??


in reply to a few basic questions

can't help with the last two questions (not sure what you mean with the second), but here's the first one:
my $counter = 0; while(1) { print "Got an even number\n" if(($counter++%2) == 0); }
This will only print when $counter is even...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2022-05-23 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?