Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 pondering the Monastery: (4)
As of 2014-11-29 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls