On Tue, Apr 24, 2001 at 06:52:02AM -0500, Steve Neu wrote:
> > perl myscript.pl "data1" "data2 "data3"
> >
> > (a) is it possible to pass data arguments via the command line in this
> way?
> 
[snip options] 
> -or-
> 
> my ($username, $password, $logfile, $filename) = @ARGV
>      # Expect 4 arguments
>      # Ignore the rest for now

Note, of course, that this does not actually *remove* the first four
arguments from @ARGV.

dha

-- 
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
"I go where I will and I do what I can" - Henry Fool

Reply via email to