tr/// is the most efficient for a simple mapping, for example rot-13 is
or in a scriptperl -pe'tr/a-zA-Z/n-za-mN-ZA-M/' file
$line =~ tr/a-zA-Z/n-za-mN-ZA-M/;
Update: fixed typo, changed A-m to A-M
In reply to Re: Text String Jumble
by hipowls
in thread Text String Jumble
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |