in reply to running an outside script

You could (whoops) use backticks. my $output = `script.pl`;

Insert security disclaimer here.

Replies are listed 'Best First'.
Re: Re: running an outside script
by hamburger-pimp (Initiate) on Jun 22, 2002 at 20:21 UTC
    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
      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.

      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.