in reply to Re^3: brian's Guide to Solving Any Perl Problem
in thread brian's Guide to Solving Any Perl Problem

Hello perlino, and welcome to the Monastery!

Just a footnote to choroba’s answer. From perlop#Quote-Like-Operators:

tr/SEARCHLIST/REPLACEMENTLIST/cdsr
...
If the /d modifier is specified, any characters specified by SEARCHLIST not found in REPLACEMENTLIST are deleted.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,