in reply to Re^3: elegant way of handling hash?
in thread elegant way of handling hash?

It wouldn't need a string eval, but it does start to become convoluted. Something like this should work:
@replacehash{ map{ "TEMP$_" } 1 .. 2 } = map{ use List::Util 'reduce'; reduce {$a->$b} ($flow, split /->/, $_); } qw[getExeName getTempName getData->getNameType];

Caution: Contents may have been coded under pressure.