Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 browsing the Monastery: (5)
As of 2014-08-29 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls