![]() |
|
more useful options | |
PerlMonks |
Re: Re: Case-preserving substitutionsby jryan (Vicar) |
on Jan 18, 2002 at 13:31 UTC ( [id://139778]=note: print w/replies, xml ) | Need Help?? |
What did you do, golf mine? :) I was unaware at that property of ^, very nice... in fact, I'm not ever sure why that works. Time for me to hit perlman:perlop. Update: Ok, its like this: ^ is XOR. That means the bit returns true if and only if one of the 2 bits is true: In short - an incredibly concise way of doing it. ++!
In Section
Seekers of Perl Wisdom
|
|