Siva Prasad wrote:
Hi Gurus,
Hello,
Iam getting problem in accessing the array reference which is passed as
command line argument to a perl script from another perl script
It won't work. You can't do that.
I have a main perl script I have declared an array as "our
@arr=("1","2","3","4");
And I have passed this array reference to another Perl script (system("perl
subscriplt1.pl [EMAIL PROTECTED]");)
That is not an array reference, it is just the string '@arr'.
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/