in reply to Re^2: wait command syntax
in thread wait command syntax

This kind of problem from a CGI script yells out to pay attention to the current directory. It's often "/" instead of the directory in which the script resides. If that's the problem, adding the following will do the trick.

use File::Spec::Functions qw( rel2abs ); use File::Basename qw( dirname ); BEGIN { chdir(dirname(rel2abs($0))); }

Update: Oops, typed basename instead of rel2abs. Fixed.

Replies are listed 'Best First'.
Re^4: wait command syntax
by alexm (Chaplain) on Mar 20, 2008 at 11:05 UTC
    You forgot to use the rel2abs function.
Re^4: wait command syntax
by Anonymous Monk on Aug 11, 2008 at 07:01 UTC
    $0 or __FILE__
      What about them?