Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

by Anonymous Monk
on Jan 22, 2013 at 13:11 UTC ( #1014653=note: print w/ replies, xml ) Need Help??

in reply to Re^2: foreach-loop-local var in sub
in thread foreach-loop-local var in sub

I think you are searching for anonymous subroutines and closures, but given that you indeed seem like a programming/Perl newbie, you shouldn't be venturing there and instead heed to the advice given in 1014512 above.

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-11-30 06:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (759 votes), past polls