Re: FLOCK

[email protected] ("Lou Hernsen")
Newsgroups perl.beginners.cgi
Message-ID <001201c7a240$cb273720$6601a8c0@lousmaster>
As much as I would like to use a database, like MySQL, I can't find an
example of the code
that isn't in a perl formay I can read and understand, I don't know alot
about perl and its assumed
vars like $_ and the super compressed codes using {[\f\t\t/t/y/g/d/d\.s1?]}
.. yeah.. i jusy made that up
but it looks like the perl code I see ... super secret coded perl....

so I use semephore files and flock...maybe it will help you.

Lou Hernsen



----- Original Message ----- 
From: "Akbar Ehsan" <[email protected]>
To: <[email protected]>
Sent: Tuesday, May 29, 2007 4:33 PM
Subject: FLOCK


> Hello Everyone,
>
> I am attempting to lock a file using FLOCK. I understand the FLOCK is an
> advisory lock and that it does not prevent any other process/program
> from "clobbering" the file even when the lock in on the file.
>
> Is there anything I should look into to apply a lock on a file so that
> it does not get written to when the lock is in place?
>
> Any thoughts or ideas would be appreciated.
>
> Thanks.
>
> Akbar Ehsan
> Internet Services Coordinator
> Central Office
> Ivy Tech Community College
> 9301 E. 59th St.
> Indianapolis, IN 46216
> Phone: 1 317 921-4872
>
>
>
> -- 
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> http://learn.perl.org/
>
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 269.8.0/821 - Release Date: 5/27/07
3:05 PM
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.