Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: File::Find and $_ in the wanted sub

by ikegami (Patriarch)
on Jun 06, 2010 at 19:15 UTC ( #843352=note: print w/replies, xml ) Need Help??


in reply to Re: File::Find and $_ in the wanted sub
in thread File::Find and $_ in the wanted sub

I used for since for and local *_ are more thorough than local $_. One problem case:
for ($tied) { ... local $_ = 'i am a nice parameter'; testy(); ... }

No problem:

for ($tied) { ... local *_; $_ = 'i am a nice parameter'; testy(); ... }

No problem:

for ($tied) { ... testy() for 'i am a nice parameter'; ... }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2022-10-05 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (25 votes). Check out past polls.

    Notices?