[mplspm]: Why can't I get flock($fh,LOCK_EX) to work?

Mark Conty Mark_Conty at cargill.com
Tue Oct 23 07:07:36 CDT 2001


Ohh, duhh!  If you're going to establish an exclusive (i.e., write) lock,
it works a *lot* better if you open the desired file in WRITE mode!

Sheesh...  Thanks anyway.

(Dave, thanks for your note -- seems, though, that including the $flock_struct
is kinda overkill, unless your program used those flags somewhere else.)

Can't make it Thursday night -- bell choir practice.  Maybe next time, tho'...
-- 
Mark Conty
APS/NAGO IT Group
Server Team - MS 64
952-984-0503


--------------------------------------------------
Minneapolis Perl Mongers mailing list

To unsubscribe, send mail to majordomo at pm.org
with "unsubscribe mpls" in the body of the message.



More information about the Mpls-pm mailing list