> If you have Perl installed then you should also have the documentation > for Perl installed. The perlre.pod and perlop.pod documents explain how > tr///, y///, s///, and m// work. > > perldoc perlop > perldoc perlre
I have ActiveState Perl on win2k and the docs are provided in html format. I also use Perldoc.com adn I was over there tonight but couldn't find it. I also notice that I can't search the archives of this list from the URL given for the mailing list. > > $name =~ tr/a-zA-Z0-9-_ .,:;'&$#@!*()?-//cd; > If the characters listed are say d-h (defgh) then /c means to > transliterate all characters that are not d-h, in other words \x00-c and > i-\xFF (tr/d-h//cd == tr/\x00-ci-\xFF//d) So does transliterate mean to render the characters into their hex equivalent? Such that in the above line $name is parsed against the charater set in pattern1 and any characters not found in that pattern are deleted and all others are now hex? Also, is my assumption correct that =~ works the same as feeding the left side of the expession to the right as an argument just the same as one does a function. I'm just wondering if there is some other trickery going on and I'm thinking of it improperly...althought the results appear basically the same. Thanks John. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]