in reply to Re: translate a character into a numberin thread translate a character into a number
my $char = 'A'; my $num = -64 + ord uc $char; [download]