in reply to Re: Exec() argument format
in thread Exec() argument format

As suggested by eyepopslikeamosquito above, consider using the full path to the ComLine.pl program:
exec( '/path/to/ComLine.pl', @args ) or die "exec: $!"
or invoke the Perl interpreter ($^X, documented in perlvar), also suggested above.

--sacked

Replies are listed 'Best First'.
Re^3: Exec() argument format
by MonkPaul (Friar) on Jul 25, 2005 at 22:47 UTC
    Sure but both my files are in the same location. i guess the $^Xsolution is the next best bet.
      If you're on Unix, that doesn't matter unless . (dot) is in your path.