Marcus wrote:
>
> On 06.11.00 at 15:42 $Bill Luebkert wrote:
> >NT has file locking.
> >
> >You need to open and then lock.
> >
> >open FH, $filename or <error recovery code>
> >flock FH, LOCK_EX or <error recovery code>
>
> (note: the original post was a few weeks ago)
>
> On NT don't you need to define $LOCK_EX=2 for things to work?
Just 'use Fcntl;' to get the definition.
--
,-/- __ _ _ $Bill Luebkert ICQ=14439852
(_/ / ) // // DBE Collectibles http://www.wgn.net/~dbe/
/ ) /--< o // // Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_</_</_ http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web