in reply to Battling Getopt::Long

Getopt::Long::GetOptions does not return an option hash, it rather returns a boolean value showing if all entered options were valid. The actual option values are stored in the variables $help, $server etc. If you want the option values in a hash, then you have to use the alternate form of GetOptions: GetOptions(\%opts, "help", "server=s", ...) or die "usage..."