On Tue, Apr 24, 2001 at 12:09:28PM +0100, Mo Holkar / UKG wrote:
> perl myscript.pl "data1" "data2 "data3"
>
> (a) is it possible to pass data arguments via the command line in this way?
Yes.
> (b) inside the script I want to assign them to variables -- but how do I
> reference them? Do they count as being on STDIN or something?
You will find them in the @ARGV array in the same order they were passed
in. You may access this as any other array.
perldoc perlvar
perldoc perldata
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net