in reply to Getting Getopt::Long values into a hash

Have a look at Getopt::Long - Storing Options in a Hash
  • Comment on Re: Getting Getopt::Long values into a hash