Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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.

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 => '', plp_site => '', do_not_use => 'spamtrap' }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://259397]
[stevieb]: cheers beech. twas totally my mistake, and I got bit. When things work for so long without issue, one becomes complacent (ie. replace we/one with I ;) I've been copy/pasting that around for a few years without a hiccup, so when...
[stevieb]: choroba pointed that out, I was just, you know, *sigh*. In effect, I was lucky and fortunate
[stevieb]: Kind of like my regex-fu went out the window, but only while looking at that specific file ;)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-07-25 23:33 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (383 votes). Check out past polls.