=> Cow::Teeth->new, ); And you want a hash containing some of those fields (perhaps to pass to JSON::XS, or something). Then you can do this: use Parse::FieldPath qw/extract_fields/; my $cow_