Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: When should a wheel be reinvented

by theorbtwo (Prior)
on Jun 30, 2004 at 05:13 UTC ( #370682=note: print w/replies, xml ) Need Help??

in reply to Re: When should a wheel be reinvented
in thread When should a wheel be reinvented

All of your my $save=$_; ... $_=$saves can be replaced by local $_=$_; ...

Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Replies are listed 'Best First'.
Re^3: When should a wheel be reinvented
by tachyon (Chancellor) on Jun 30, 2004 at 11:18 UTC

    Good point, not that it makes much practical difference.

      Yes, it does; wanted is AFAIK allowed to bail out with an exception (die) or loop operator (next, last, redo) or even goto.

      Update: never mind; obviously if you leave File::Find::find, that no longer cares if you modify $_.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2019-10-15 09:51 GMT
Find Nodes?
    Voting Booth?