in reply to understanding symbols
See $| in perlvar
perldoc -v '$|'
h0 is probably a HASHES OF ARRAYS data structure. The inner {} return the puts key. The outer {} dereference the array.
%{$hr1} dereferences a hash reference. See perlreftut
In Section
Seekers of Perl Wisdom