in reply to each on reference is experimental take 2

Hi natxo,

Try dereferencing with full syntax:

#!/usr/bin/perl use strict; use warnings; use feature 'say'; my $data = { name => { foo => 'bar', baz => 'qux' } }; while ( my ( $key, $val ) = each %{ $data->{'name'} } ) { say "$key: $val"; } __END__
Output:
foo: bar baz: qux

Hope this helps!


The way forward always starts with a minimal test.