Use Getopt::Long for the options stuff.