Given the file name, how can I tell if a file is currently open or in use? (I'm talking about files, not Perl files).
Please note that I am looking for a general-purpose Perl solution, not just for the operating system. At a minimum, I would like something that works on both Windows systems and GNU / Linux.
source share