---------- Forwarded message ---------- From: "shawn wilson" <[email protected]> Date: Nov 2, 2010 3:12 PM Subject: Re: checking if a file is in use To: "perl_haxor 123" <[email protected]>
perlmonks has a nice article on file locks in general that might be useful to you. i assume what you want to do is lock the file or die. http://www.perlmonks.org/?node_id=7058 On Tue, Nov 2, 2010 at 2:49 PM, perl_haxor 123 <[email protected]> wrote: > Hi All, > > I have a directory in which i have multiple files, i have to read > each one of them and parse the data......but there could be some files > which > are in use by some other program, how can i find which files are in use by > other program in perl?.......any suggestions would be really helpful. > > > > Thanks, > Monnappa >
