Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
more useful options
 
PerlMonks  

Re: file locking

by fauria (Deacon)
on May 16, 2005 at 09:55 UTC ( [id://457461]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to file locking

You can try os specific tools to see if a file is being used, for example fuser:
open FILE, "sample"; system("fuser sample") or print "File not in use\n"; close FILE; system("fuser sample") or print "File not in use\n";
Maybe Linux::Fuser from CPAN can help you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://457461]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.