Avox has asked for the wisdom of the Perl Monks concerning the following question:
Any reason this shouldn't work? The crazy thing is that it works via command line. Just doesn't serve up the page.#!c:/perl5/perl use Fcntl qw(:DEFAULT :flock); use CGI qw/:standard/; use strict; ...my content... sysopen(OUTFILE,$OUTFILE,O_WRONLY); #LOCK THE FILE unless(flock(OUTFILE,LOCK_EX)){ flock(OUTFILE,LOCK_EX) or die; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Fcntl in CGI
by hardburn (Abbot) on Apr 08, 2003 at 14:33 UTC | |
by Avox (Sexton) on Apr 08, 2003 at 14:56 UTC | |
|
Re: Using Fcntl in CGI (20 questions)
by tye (Sage) on Apr 08, 2003 at 16:05 UTC | |
by Avox (Sexton) on Apr 08, 2003 at 16:28 UTC | |
by tye (Sage) on Apr 08, 2003 at 16:44 UTC | |
by Avox (Sexton) on Apr 08, 2003 at 18:00 UTC | |
|
(jeffa) Re: Using Fcntl in CGI
by jeffa (Bishop) on Apr 08, 2003 at 14:23 UTC | |
by Avox (Sexton) on Apr 08, 2003 at 14:54 UTC | |
by cbro (Pilgrim) on Apr 08, 2003 at 16:05 UTC | |
|
Re: Using Fcntl in CGI
by Abigail-II (Bishop) on Apr 08, 2003 at 14:20 UTC | |
by Avox (Sexton) on Apr 08, 2003 at 14:56 UTC |