How does the output differ from the output you expect?
For example, it seems to me that e should map to 5 and l should map to 12 from your problem description.
In reply to Re^3: Not getting desire output by using switch statement in Perl
by Corion
in thread Not getting desire output by using switch statement in Perl
by rammohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |