Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: When should a wheel be reinvented

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 07: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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://370682]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.