If you want to gather another program's output, use the built-in backticks:
my $output = `ldbtest.pl -e aa100001 -t 123`;
But be *VERY CAREFUL* and run under taint mode if the use r is going to be allowed to pass parameters to the other script.
HTH perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); $rose = "smells sweet to degree $n"; *other_name = *rose; print "$other_name\n"' </code>
In reply to Re: passing values to another perl program
by arturo
in thread passing values to another perl program
by treebeard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |