in reply to 2 basic questions
read perlintro and you'll know the answer, don't rely on magic increment or chr and ord, use "substitution" or transliteration operator