There's more than one way to do things | |
PerlMonks |
Re: Re: open vs. sysopenby Anonymous Monk |
on Dec 26, 2003 at 21:48 UTC ( [id://317130]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|