Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by NetWallah (Abbot)
on Jan 22, 2013 at 02:39 UTC ( #1014535=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)\n";
    }
    
  2. or download this
    1 (C-Style:$i==1)
    2 (C-Style:$i==2)
    3 (Perl Style:$i==x)
    3 (Perl Style:$i==y)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-08-20 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (113 votes), past polls