I would like to pass in some variables via the command line. For example, I want to be able to run the program the following way.
perl program.pl -u my_username -p my_password
Where the -u switch signifies the following string is the user name and the -p switch is for their password. Can you help me on how to do this?