in reply to Getting Getopt::Long values into a hash

my %h; GetOptions( \%h, 'house=s', 'dog=s', );
Boris