in reply to New Perl User Question

you could also use the following modules to help with parsing command-line parameters :
a) GetOpt::Std
b) GetOpt::Long
in case u decide to extend your programs with additional command-line parameters, and/or u need to ensure that the correct data types are being passed via the command line , the modules mentioned above should come in handy