in reply to Poor's man command line arguments
I would recommend using one of the GetOpt modules for anything other than a throw-away script.