in reply to dumper hash incorrect?

You must pass Dumper a scalar. Refer to both the DESCRIPTION and BUGS section of Data::Dumper.
print Dumper \%spouses ;
Bill