You're running under taint mode and don't appear to be setting $ENV{PATH}. You can't execute external programs under taint without setting the PATH env var. Better still is to write the lockfile code in pure Perl.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
In reply to Re: Perl script crashing at lockfile ?
by hardburn
in thread Perl script crashing at lockfile ?
by peterr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |