in reply to
Re: sysopen vs. open
in thread
sysopen vs. open
Interestingly, none of those talk about the return values for sysopen. I'm going to guess that a falsey value is a fail.
Comment on
Re^2: sysopen vs. open
Replies are listed 'Best First'.
Re^3: sysopen vs. open
by
soonix
(Chancellor)
on Apr 17, 2020 at 06:32 UTC
obviously, rou read different documentation than I. All three (
open
,
sysopen
and
perlopentut
)
explicitly
say that
undef
is returned on failure
, which is, as you 'guessed', a falsey value
.
Edit: added the words in italics
[reply]
[d/l]
In Section
Seekers of Perl Wisdom