http://www.perlmonks.org?node_id=1069501


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.