Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

in a tr/// what do the /C and /U options do and why aren't they documented?

Replies are listed 'Best First'.
Re: extra options in tr///
by extremely (Priest) on Feb 21, 2001 at 08:22 UTC
    For installed versions of perl that support them, look in perlop with perldoc perlop and you will find this in there. (you will find that the docs on-site are not from Perl 5.6):
    PERLOP(1) User Contributed Perl Documentation PERLOP(1) Options: c Complement the SEARCHLIST. d Delete found but unreplaced characters. s Squash duplicate replaced characters. U Translate to/from UTF-8. C Translate to/from 8-bit char (octet).

    --
    $you = new YOU;
    honk() if $you->love(perl)

      Don't get too friendly with tr///U and tr///C, however, since they were removed from the language in June, a few months after 5.6.0 was released.

      p5p archives: [PATCH] Eliminate tr///[CU][CU]