in reply to construct variable name on the fly

thank you....the dot operator did the trick. this doesn't work for getting keys from such a constructed variable though. Any help in this regard please. Example:
$thisname{'frank'} = 1; $thisname{'lee'} = 2; $hashname = 'thisname'; print keys %.$hashname;

Replies are listed 'Best First'.
Re^2: construct variable name on the fly
by pg (Canon) on Oct 19, 2004 at 02:00 UTC
    $thisname{'frank'} = 1; $thisname{'lee'} = 2; $hashname = 'thisname'; print keys(%$hashname);
    A reply falls below the community's threshold of quality. You may see it by logging in.