in reply to Passing parameters into a perl program.

is there a way to not only call another perl program but to pass it parameters as well?

TIMTOWTDI

$output = `foo.pl $arg1 $arg2`; system("foo.pl $arg1 $arg2"); system("foo.pl", $arg1, $arg2);
The difference in behavior between the last to examples is subtle, but worthy of study. It is well-described in perlfunc.

Replies are listed 'Best First'.
Re: Re: Passing parameters into a perl program.
by basicdez (Pilgrim) on Mar 12, 2002 at 22:07 UTC
    Thanks