in reply to Question about tr
You need to do this instead:
$a =~ tr|\x{0000}\x{0001}\x{0002}\x{0003}\x{0004}\x{0005}\x{0006}\x{0007}\x{0008}\x{0009}\x{000a}\x{000b} .... etc.See perlrecharclass for more info.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Question about tr
by harangzsolt33 (Deacon) on Oct 22, 2018 at 02:30 UTC |