[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] tr// to humorous effect (was Re: The translate operator)



Paul McCann, <pmccann@maths.adelaide.edu.au> wrote:

>OK, so Matthias has covered the humorous: I guess the grotesque could be
>something like...
>
>$string="Larry&TomC";
>$string=~tr/TLC&mayo&r'n'r/aBsGei t&l/;
>print "$string\n";
>
>Sorry,

Yikes! That's really scary! ;-) ack!

--B

Brian McNett, Webmaster
*************************************************************
Mycoinfo. The world's first mycology e-journal.
http://www.mycoinfo.com/
*************************************************************


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org