in reply to Battling Getopt::Long

GetOptions doesn't return a hash, it returns a status indicating whether parsing of the options went succesfully. The way you call GetOptions, values will be set in the variables you pass references - for instance, if a password is given, the value will appear in $password.

If you want all the values in a hash, use a reference to a hash as first argument (and remove the other references).

Abigail