Here's a sample code and result.
https://gist.github.com/kyanny/5634832
If you want to know more about how to handle multiple values option, see documantation: http://perldoc.perl.org/Getopt/Long.html#Options-with-multiple-values
One more thing, Getopt::Long::GetOptions does not provide the way to handle mandatory options. You should check if the mandatory options are in the @ARGV and raise Exceptions, etc. in your hand.