mark wrote: > Actually this goes back to my initial question about this: > > $name =~ tr/a-zA-Z0-9-_ .,:;'&$#@!*()?-//cd; > > What is happening here exactly and what precisely does the /c do in this > statement? I've had a couple of answers that I do not understand and thus > far I've been told that /c "complements" the SearchPattern. OK
> So my question is (drumroll) : Do I take it to mean that /c also adds the > negative values of the given SearchPattern to the SearchPattern? Otherwise, > what is the "complement of /a-z/ if not /-(a-z)/ ? You should take another look at John W, Krahn's answer to your question- it is explained there. I'll try to put it in my own words, but I don't guarantee it will be as accurate as John was. The complement referred to here is set complement- that is, all items not in the set. The d means to delete any characters for which you haven't given a translation (and in the tr above you aren't giving any translations). So your tr means delete any characters in $name that aren't in the set of characters given between the first two / characters. I think :). Tagore Smith -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]