Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#in my calling script system(qq(perl script2.pl @theArray));
Can someone tell me what is the problem of the way I am passing the array? thanks#in my reciving script my @RecivedArray; if ($#ARGV != 0) { die " no argument was passed\n"; } @RecivedArray = $ARGV[0];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing arguments
by John M. Dlugosz (Monsignor) on Jan 28, 2004 at 21:50 UTC | |
|
Re: Passing arguments
by Roy Johnson (Monsignor) on Jan 28, 2004 at 22:09 UTC | |
|
Re: Passing arguments
by Zaxo (Archbishop) on Jan 28, 2004 at 21:56 UTC | |
|
Re: Passing arguments
by blue_cowdawg (Monsignor) on Jan 28, 2004 at 21:57 UTC | |
|
Re: Passing arguments
by monktim (Friar) on Jan 28, 2004 at 21:53 UTC | |
|
Re: Passing arguments
by revdiablo (Prior) on Jan 28, 2004 at 21:59 UTC | |
|
Re: Passing arguments
by NetWallah (Canon) on Jan 29, 2004 at 05:50 UTC | |
|
Re: Passing arguments
by ysth (Canon) on Jan 28, 2004 at 21:55 UTC |