On Sat, 7 Apr 2001, Jimmy S. Lim wrote:
> hi perl friends,
>
> how do i pass an argument to an external script w/ the "do" command? for
> example if i have:
>
> my @Variable = qw(1 2 3 4);
> do 'c:/perl/Test.plx'; # how do i pass the @Variable as an argument to
> Test.plx?
>
> i am not familiar about creating modules and packages...
>
It depends on how the external script accepts arguments.
Does it get then from @ARGV or does it expect them to be
present in other global variables? Does it read them from
a file? How ever the external script accepts its arguments
is how you have to provide them when calling the script.
**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer ****
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users