Oui, tu peux construire un hash, par exemple comme suit:


my %transco = (
A => 1,
J => 1,
B => 2,
K => 2,
# etc.
)