Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by LanX (Chancellor)
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 imbibing at the Monastery: (12)
As of 2016-06-28 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (359 votes). Check out past polls.