I used the line from above and the line that returned to me is...
sh: -t: not found
below are the two programs, stripped down, that I am trying to run. The first one calls the second, which should print out the values. At this point all that I am trying to accomplish is seeing that the values get over.
Here are the two programs: #!/use/bin/perl -w open(EXT,"< LDB_EXTID.lst") || die "something"; while (<EXT>) { push (@externaluids, $_) || die "dead again"; } close (EXT) foreach $externaluid (@externaluids) { my $output = `ldbtest.pl -e $externaluid -t 123`; #for my testing purposes $counter++; exit if $counter > 10; } exit #program ldbtest is simply... #!/use/bin/perl -w use Getopt::Std; getopt ('et'); print $opt_e print $opt_t exit
In reply to Re: Re: passing values to another perl program
by treebeard
in thread passing values to another perl program
by treebeard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |