Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Dangerous diamonds!

by bart (Canon)
on May 20, 2003 at 08:00 UTC ( #259397=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Dangerous diamonds!
in thread Dangerous diamonds!

To anyone reading my post: I acknowledge that it is a feature (after all, it's documented and sometimes useful) and not a bug.
I disagree. That is like saying that carrying a loaded and unlocked gun with you all the time is sometimes useful. You'll accidently shoot someone that way, likely even yourself while not even handling the gun.

If people want to make use of the effect that this kind of "feature" achieves now, they should program the loop explicitely. How much work is it? Is it really worth the savings?

Again, in summary: <> should only try to open existing files, and for reading only.


Comment on Re: Re: Re: Dangerous diamonds!
Download Code
Re: Re: Re: Re: Dangerous diamonds!
by Juerd (Abbot) on May 20, 2003 at 14:43 UTC

    Again, in summary: <> should only try to open existing files, and for reading only.

    I agree that it *should* only open files for reading. I was just acknowledging that the current handling of magic ARGV is a feature because it is documented as one.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-09-03 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls