Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: foreach-loop-local var in sub

by LanX (Canon)
on Jan 22, 2013 at 03:24 UTC ( #1014546=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      my_print();          
      print " (Perl Style:\$i==$i)",\$i,"\n";
    }
    
  2. or download this
    6, SCALAR(0x8fa4e38)
     (Perl Style:$i==x), SCALAR(0x8f86760), 
    
    6, SCALAR(0x8fa4e38)
     (Perl Style:$i==y), SCALAR(0x8fa4da8), 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-12-25 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls