Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stupid question

Status
Not open for further replies.

patso

IS-IT--Management
May 19, 2000
5
US
I totally can't remember how you do command line arguments in perl, can anyone help?
 
just run perl with arguments such as<br><br>perl myscript.pl arg1 arg2<br><br>then in ur program u can access it by<br>ARGV[0], ARGV[1]
 
oops ... mistake above<br>forgot the dollar sign<br>it should be<br><br>$ARGV[0]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top