You want multiple values to point to the same hash key. You could use a hash to convert multiple values into one.
%convert = (Create=>'Create', Generate=>'Create', Deliver=>'Deliver', Deliv=>'Deliver'); %foo_commands = ( Create => "10 14 00 07 4d", Deliver => "16 75 32 14 77"); print $foo_commands{$convert{Deliv}};
In reply to Re: Multiple keys for a hash table row?
by GotToBTru
in thread Multiple keys for a hash table row?
by mike65535
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |