SPUG: running script with the variables on the same line

Yitzchak Scott-Thoennes sthoenna at efn.org
Sun May 29 23:36:17 PDT 2005


On Sun, May 29, 2005 at 06:51:34PM -0600, Medrano-Zaldivar, L E wrote:
> List,
> 
> I have a quetion how can I set a script to grap the variables values on the same line where I'm running the script. For example:
> 
> perl script.pl variable1 variable2

If you invoke it that way, the array @ARGV will be set to
("variable1", "variable2").  See perlvar.


More information about the spug-list mailing list