in reply to Re^4: Wrong idioms (open $fh, '<', undef)
in thread Wrong idioms
I mean open does not detect error if you "open" a directory.
Also last code with "wantarray" and "scalar" looks useless.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Wrong idioms (open $fh, '<', undef)
by Anonymous Monk on Apr 02, 2013 at 08:38 UTC | |
by vsespb (Chaplain) on Apr 02, 2013 at 09:47 UTC | |
by Anonymous Monk on Apr 02, 2013 at 12:12 UTC |
In Section
Seekers of Perl Wisdom