in reply to parsing multiple values with getopt::long
The help for Getopt::Long is pretty comprehensive, the section 'Options with multiple values' explains the different ways you could do that.