in reply to sysopen failing to work

i guess you don't have the constants for the mode parameter defined. that's why it fails using strict subs. no strict "subs" wont help either, it just doesn't complain that the functions O_CREATE etc aren't defined. so just
use Fcntl;
or
use Fcntl qw(:DEFAULT :flock);
to pull in the flags your system supports.

hope to help, cheers
snowcrash //////

Replies are listed 'Best First'.
Re: Re: sysopen failing to work
by tachyon (Chancellor) on Jun 25, 2001 at 15:10 UTC

    Added the :DEFAULT to my flock and all was cured. Thanks.

    Cheers

    Tachyon