LPM: command line

John Soward soward at uky.edu
Fri Jun 1 14:14:11 CDT 2001


Ronald Edward Petty wrote:

>how do you get command line args in a perl script
>
>myscript -a asdf -b fdsa etc
>
they'll be in @ARGV

or you can use the Getopt module(s)

see http://cpan.uky.edu/ and look for getopt.

-- 
John Soward     
Lead Systems Programmer, Technical Services, University of Kentucky    
p: 859.257.2900x298  e:soward at uky.edu  w: http://neworder.cc.uky.edu/







More information about the Lexington-pm mailing list