Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Dangerous diamonds!

by bart (Canon)
on May 20, 2003 at 08:00 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://259397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found