>Date: Fri, 2 Feb 2001 15:13:29 -0500
>From: Ronald J Kimball <[EMAIL PROTECTED]>
>
>Consider, however, the confusion that would result from:
>
>tr/\s/\S/;

Given a locale (or given utf8), there is a specific set of characters
matched by \s or \S.  Consider them in order, and transliterate
appropriately.  E.g.

        use DWIM::KAG;
        $genesis = "010201";
        $genesis =~ tr/\d/a-z/;
        print $genesis;

would print "abacab".

Now I can't really come up with a situation where this would be useful,
but why let that stop me?

--kag

Reply via email to