@ARGV is the variable ur  looking for ;
here is how to assign args to vars;
while(@ARGV)
  {
   $var1=shift(@ARGV);
   $var2=shift(@ARGV);
  }


Adios
Mandar


On Thu, 11 Apr 2002, Mike wrote:

> If a program calls a perl script as follows:  /tmp/perltest.pl abc def ghi
> jkl mno
>
> Is there a variable which would contain the arguments?
>
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to