Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by eyepopslikeamosquito (Chancellor)
on Jan 21, 2013 at 20:08 UTC ( #1014512=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    foreach my $j (0, 1) {
        my_print($j);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014512]
help
Chatterbox?
[Lady_Aleena]: I did it! I did it! I did it! # it eq made a page better with a browse feature instead of listing everything at once.
Lady_Aleena feels so good about it.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-05-28 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?