Re: Problem with flock

2004-09-27 Thread Gunnar Hjalmarsson
Wiggins d Anconia wrote: You haven't shown us your 'use' statements, I suspect you didn't import the LOCK_ constants, perldoc -f flock Adding: use Fcntl ':flock'; # import LOCK_* constants Should help. I think you need to do: use Fcntl qw(:DEFAULT :flock); or else Perl will complain about O_RDW

Re: Problem with flock

2004-09-27 Thread Wiggins d Anconia
> Variations on the following code snippet have run successfully before, > but now the compiler halts with the complaint > " Bareword "LOCK_EX" not allowed while "strict subs" in use at > student_info_viewer.cgi line 47" > Can someone help me see what I am overlooking? > You haven't shown us you

Problem with flock

2004-09-27 Thread Rick Triplett
Variations on the following code snippet have run successfully before, but now the compiler halts with the complaint " Bareword "LOCK_EX" not allowed while "strict subs" in use at student_info_viewer.cgi line 47" Can someone help me see what I am overlooking? # Declare the 'working' datahash, th