in reply to Re^2: Ensuring only one copy of a perl script is running at a time
in thread Ensuring only one copy of a perl script is running at a time

While executing the above script the contents of the given file in the script gets deleted.WHY????
  • Comment on Re^3: Ensuring only one copy of a perl script is running at a time

Replies are listed 'Best First'.
Re^4: Ensuring only one copy of a perl script is running at a time
by ikegami (Patriarch) on Mar 24, 2011 at 18:12 UTC
    I don't know what you are talking about. The script neither takes a file nor does it delete or even write anything.