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.
In reply to Re: Re: open vs. sysopen
by Anonymous Monk
in thread open vs. sysopen
by sheep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |