"This means: Take all the characters *not* in the SEARCHLIST and look
for those."
In my case, sometimes the shortest distance between 2 points is a circle.
It finally sank in sometime yesterday and in celebration I spent the entire
evening and most of the night pouring over perldoc. My problem
On Sat, 25 May 2002, mark wrote:
> 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
I'm sorry that my original reply didn't help
Mark wrote:
>
> HI,
Hello,
> Using /c in conjuction to tr/// as stated in 'perlop' complements the
> searchlist. Is this to mean that the scalar in $val=~tr/this//c is also
> scanned for any values of t,h,i or s that may be interpreted as negative
> values of those character representations?
On Saturday, May 25, 2002, at 08:18 , mark wrote:
[..]
> Actually this goes back to my initial question about this:
>
> $name =~ tr/a-zA-Z0-9-_ .,:;'&$#@!*()?-//cd;
[..]
> So my question is (drumroll) : Do I take it to mean that /c also adds the
> negative values of the given SearchPattern to the
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
> so from your illustration I would presume that
> the '/c' option is there so that perl can say
>
> "my what a facinating transliteration."
That is my question exactly /c : Hello pattern1, you look mighty nice
today in all your cryptic obscurity.
Actually this goes back to my initial quest
On Saturday, May 25, 2002, at 05:22 , mark wrote:
first off let me complement you on raising a question
that is not often addressed both in terms of what the
documentation 'asserts' and that at times it is not always clear.
> $val=~tr/this//c
you will forgive me the moment of levity here[1],
b
HI,
Using /c in conjuction to tr/// as stated in 'perlop' complements the
searchlist. Is this to mean that the scalar in $val=~tr/this//c is also
scanned for any values of t,h,i or s that may be interpreted as negative
values of those character representations?
thanks,
mark
--
To unsubscrib