See perldoc -f flock, but specifically, no you do not need the 'use'
statement with the way you are calling flock, that is with the '2'
instead of using one of the "symbolic" names that Fcntl:flock provides,
from the aforementioned perldoc:
"OPERATION is one of LOCK_SH, LOCK_EX, or LOCK_UN, pos
Is it possible to hardcode the location of wget as I am wondering if
calling a program with a non-specific location in 'system' is what is
causing the problem (have a look at perldoc perlsec for what I mean). I
guess the other question I have is what does this have to do with
booting the system
Hi all,
Do I always need
use Fcntl qw(:flock);
if I want to use
flock(FILEHANDLE, 2)
in my scripts ? I'm asking because some scripts I found on the web do and
some other don't, although they all use flock.
Is there also a nice way to omit the "flock() unimplemented on this
platform"
hi there.
I have this problem:
there's a script, that runs just fine, until it dives into a subroutine,
where it is supposed to chmod() and chown() a bunch of files - but fails
miserably because of the taint mode...
ok. there's two options:
1. I'm lazy and don't care much about security and just
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to <[EMAIL PROTECTED]>
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email addre