Prince99 has asked for the wisdom of the Perl Monks concerning the following question:
$rpt_name = $ARGV[0]; $desname = $ARGV[1]; $btch = $ARGV[2]; $record = $ARGV[3]; @args = qw(/where/the/program/is/rwcli60 report=$rpt_name userid=us +er_id@db server=my_server destype=printer desname=$desname btch=$btch + record=$record subbtch=0); $retval = system("@args"); die "system failed: $?" unless $retval == 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: help with arrays
by arturo (Vicar) on Apr 20, 2001 at 20:23 UTC | |
by Prince99 (Scribe) on Apr 20, 2001 at 23:51 UTC | |
by suaveant (Parson) on Apr 20, 2001 at 23:57 UTC | |
by Prince99 (Scribe) on Apr 21, 2001 at 00:07 UTC | |
by chipmunk (Parson) on Apr 21, 2001 at 00:11 UTC | |
| |
|
Re: help with arrays
by lachoy (Parson) on Apr 20, 2001 at 20:10 UTC | |
|
Re: help with arrays
by Sprad (Hermit) on Apr 20, 2001 at 20:17 UTC |