Don't ask to ask, just ask | |
PerlMonks |
Re: Anyone use "xor" in conditionals?by Abigail-II (Bishop) |
on Jul 15, 2003 at 07:05 UTC ( [id://274291]=note: print w/replies, xml ) | Need Help?? |
I wasn't looking for the fastest solution to this particular
problem. My 'solution' looked similar to the one from the
Date module on purpose. I wanted to show the effect of
changing the order, so I used the same style which would
make it more obvious what the effect is.
Nested ?: is of course faster than repeated statement modifiers. Abigail PS: Could you fix your sig? It doesn't seem to close its font element - replying in a textform with fontsize = 1 is very annoying.
In Section
Seekers of Perl Wisdom
|
|