in reply to Re: open vs. sysopen
in thread open vs. sysopen
I'd guess that there's no use POSIX; in the snippet. POSIX.pm is where the O_WRONLY, O_TRUNC and O_CREAT constants are defined.
A poor guess. The code shown in the original post clearly has use Fcntl, which by default will export all system F_* and O_* constants.
|
---|