in reply to Getopt::Long return value

My documentation says (Getopt::Long, version 2.25):

GetOptions() will return a true value if the command line could be processed successfully. Otherwise, it will write error messages to STDERR, and return a false result.

Give your code with some examples then we can try to figure out what went wrong ...

-- Hofmator