Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 having an uproarious good time at the Monastery: (7)
As of 2014-09-20 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls