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

Re: Variable scope in while loop

by tobyink (Abbot)
on Dec 19, 2012 at 22:19 UTC ( #1009650=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $number;
    $number = 40;
    ...
    elsif ($number < 1) {
      print "smaller than 1\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009650]
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: (8)
As of 2015-08-29 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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













    Results (344 votes), past polls