The command line parameters are stored in the @ARGV array.

Tor.


Edd Dawson wrote:

> Hi,
>
> I wish to write a perl script that i can call from the command line
> and pass parameters to it in the call when running under unix, i.e
>
> perl perlscript parameter1 parameter2
>
> I don't seem to be able to find any info anywhere on how to do this
> so if anyone could point me in the right direction i would be most
> grateful.
>
> Thanks very much for your time
> Edd Dawson

Reply via email to