in reply to Re: Unexpected file test (-f) result on Windows
in thread Unexpected file test (-f) result on Windows
Very true: thank you. My normal idiom is:
open FILE, "name" or die "died: $!";
For some inexplicable reason, I used || in this test script!
("Yeah, right, that's what they all say!" shouts somebody at the back of the room...)
Is the last form of open in your examples just a Perl 5.8 construct? I've not seen it used that much (then again, I don't regularly review much code, apart from on PerlMonks).
Cheers,
-- Dave :-)
$q=[split+qr,,,q,~swmi,.$,],+s.$.Em~w^,,.,s,.,$&&$$q[pos],eg,print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Unexpected file test (-f) result on Windows
by dws (Chancellor) on Sep 19, 2003 at 17:22 UTC | |
by DaveH (Monk) on Sep 19, 2003 at 17:39 UTC |