in reply to Dereference Hash of Hash - print
It is, but you can avoid one arrow
print "MyText$ref_HoH->{$var}{key}ishere."
You can also try (untested)
print "MyText$$ref_HoH{$var}{key}ishere."
Anyway I'd prefer something more readable, so why interpolating?
This looks like an XY problem, do you really need 2 levels?
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
|
|---|