------------------------------------------------
On Fri, 7 Feb 2003 15:04:16 -0600, "Thomas Browner" <[EMAIL PROTECTED]> 
wrote:

> Is there away for perl enter an variable from the command line. 
> 
> For example: 
> 
> ./test.pl tom
> 

perldoc perlvar (I think)

Input on the command line is automagically stored to the 

@ARGV 

array for further processing.

so $ARGV[0] eq 'tom'

http://danconia.org

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

Reply via email to