Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

by muba (Priest)
on Jan 22, 2013 at 19:36 UTC ( #1014775=note: print w/replies, xml ) Need Help??

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

Which is what I use all the time now ;) But it feels kinda hacky, even though it works and even though it's actually documented behaviour. Getting "real" lexically scoped subroutines would feel less work-aroundish.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-10-22 07:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (293 votes). Check out past polls.