I think you're right. It's odd, but none of the books or docs that I have show any flags to run tr/// with...
Thanks for your help on an insanely moronic question <you guys here are always nice, even when dumb questions are asked> Thanks again!
Justin | [reply] |
Check out perldoc perlop for the options
to tr. As it appears our site docs are still a bit old,
here is an excerpt from a Perl5.6.0 dist:
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).
jeffa | [reply] |
none of the books or docs that I have show any flags to run tr/// with
perldoc perlop
| [reply] |
| [reply] |
My copy of the Camel certainly mentions all the tr///; switches. But, I'll admit when I first started Perl I would buy these books off the Street Vendors in NYC for $5. I got the Dummies book and one about Perl for Windows NT Servers. Both of them were barely worth even the little cash I shelled out, and left out major details.
The O'Reilly books are popular for a reason.
| [reply] |