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'; ... }
|
---|
In Section
Seekers of Perl Wisdom