title: How can I check if a file is open by another program in Perl?
body: <p>In Perl, how do I test if a file of open by another Perl program? I need the first program to be done before the second program can start.</p>