in reply to Re: problems with tr///;
in thread problems with tr///;
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
(jeffa) 3Re: problems with tr///;
by jeffa (Bishop) on Sep 25, 2001 at 22:42 UTC
|
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] |
Re: Re: Re: problems with tr///;
by nardo (Friar) on Sep 25, 2001 at 22:41 UTC
|
none of the books or docs that I have show any flags to run tr/// with
perldoc perlop | [reply] |
Re: Re: Re: problems with tr///;
by merlyn (Sage) on Sep 26, 2001 at 00:34 UTC
|
It's odd, but none of the books or docs that I have show any flags to run tr/// with
Please list the names of those books, so we can be sure to dis-recommend them for others.
-- Randal L. Schwartz, Perl hacker
| [reply] |
Re: Re: Re: problems with tr///;
by runrig (Abbot) on Sep 25, 2001 at 22:43 UTC
|
| [reply] |
Re: Re: Re: problems with tr///;
by thunders (Priest) on Sep 26, 2001 at 21:25 UTC
|
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] |