http://www.perlmonks.org?node_id=1007860


in reply to Re^2: variable as hash name
in thread variable as hash name

%Bet01 = ( 230 => 2, 238 => 5, 224 => 1,); %Bet05 = ( 101 => 2, 103 => 2, 0 => 4, );
Why not simply have "Bet01", "Bet05", ... as keys in a hash? For example:
my %bets = ( 'Bet01' => { 230 => 2, 238 => 5, 224 => 1 }, 'Bet05' => { 101 => 2, 103 => 2, 0 => 4 }, );