If I only look at your sample data, you could use a formula instead of a translation table:
my $new = ord( uc $old ) - 64;
For your more general question, I would suggest to translate your table into a hash of hashes and use XML::Simple to read and write the data.
In reply to Re: Reclassification based on XML map
by hdb
in thread Reclassification based on XML map
by karthik167
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |