RE: variable from command line

2003-02-07 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Thomas Browner wrote: > Is there away for perl enter an variable from the command line. > > For example: > > ./test.pl tom > > > > > > Thomas Browner You have a number of options, but @ARGV holds what comes from the command line. $ARGV[0] holds item 1, $ARGV[1] holds item 2, etc.

Re: variable from command line

2003-02-07 Thread Jose Malacara
, 2003 2:04 PM Subject: variable from command line > Is there away for perl enter an variable from the command line. > > For example: > > ./test.pl tom > > > > > > Thomas Browner > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: variable from command line

2003-02-07 Thread wiggins
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 aut

variable from command line

2003-02-07 Thread Thomas Browner
Is there away for perl enter an variable from the command line. For example: ./test.pl tom Thomas Browner