Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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.


Comment on Re^2: What is true and false in Perl?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (18)
As of 2015-07-07 17:15 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 (92 votes), past polls