Perl DBI fetchall_hashref
No, it cannot be done using fetchall_hashref
. But you can iterate over the hash values and delete the key:
delete $_->{countryiso} for values %$hash;
No, it cannot be done using fetchall_hashref
. But you can iterate over the hash values and delete the key:
delete $_->{countryiso} for values %$hash;