in reply to Text String Jumble
tr/// is the most efficient for a simple mapping, for example rot-13 is
perl -pe'tr/a-zA-Z/n-za-mN-ZA-M/' file [download]
$line =~ tr/a-zA-Z/n-za-mN-ZA-M/; [download]
Update: fixed typo, changed A-m to A-M