in reply to Re: running an outside script
in thread running an outside script

I'm using active perl, and i've tried just that, and i'm getting a back command or file name issue...is there a remedy for this, or is there another approach I need? HP

Replies are listed 'Best First'.
Re^3: running an outside script
by Aristotle (Chancellor) on Jun 22, 2002 at 20:30 UTC
    Make sure that other script is in your path or that you have given the full pathname in the backticks (`c:/windows/desktop/test.pl`). If that's already the case, you need to make sure your system assumes .pl files to be executable; otherwise, you have to precede the command with a call to Perl (`c:/perl/bin/perl.exe c:/windows/desktop/test.pl`).

    Makeshifts last the longest.

Re: Re: Re: running an outside script
by BrowserUk (Patriarch) on Jun 24, 2002 at 07:41 UTC

    If you haven't already resolved this, you might try:

    $return = qx(/path/to/perl external.pl);

    Update:I didn't see Aristotle's answer till after.