in reply to Re^2: Not getting desire output by using switch statement in Perl
in thread Not getting desire output by using switch statement in Perl
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 Section
Seekers of Perl Wisdom