Possible Duplicate:
How can I pass command-line arguments to a Perl program?
I have code that parses an input file and outputs a .stat file and a .csv file. What do I need to code to run my Perl Script from a command prompt like this?
perl myprogram.pl -i "C:\temp\inputfile.txt" -o "C:\temp\myoutput.csv" -s "C:\temp\myoutput.stat"
Where the -i is the input file (required) and the -o is the output file location for a CSV file (required) and the -s is the output file for a .stat file (optional). I already have the code for the program but need to implement the arguments so that they can run in command line.