in reply to Re^2: Perl hashes revisit
in thread Perl hashes revisit

Is your variable $test or %test? The code is for $test (a scalar variable, containing a hashref). If it is %test (a hash variable), change the code to
print $test{dest}->{flags}
or
print $test{dest}{flags}