Maybe Linux::Fuser from CPAN can help you.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";
In reply to Re: file locking
by fauria
in thread file locking
by Tomtom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |