in reply to Dereference Hash of Hash - print

> This works but I think this not a very good way ...

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?

update

This looks like an XY problem, do you really need 2 levels?

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)