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

Re^2: What is true and false in Perl?

by Anonymous Monk
on Aug 10, 2009 at 19:26 UTC ( #787396=note: print w/replies, xml ) Need Help??


in reply to Re: What is true and false in Perl?
in thread What is true and false in Perl?

I love this 'feature'. It allows code like the following:
while (@array) { my $whatever = shift @array; # process $whatever; }
The loop ends when the array is empty.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2016-12-08 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.