Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 pondering the Monastery: (15)
As of 2014-12-18 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (65 votes), past polls