I would suggest also looking at one of the
Getopt::* modules on how to manage command line parameters (
Getopt::Long, or my current favorite,
Getopt::Declare). There is also the
-s command line switch for parsing command line options.
-QM
--
Quantum Mechanics: The dreams stuff is made of