|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Secret Perl Operators: the boolean list squash operator, x!!by radiantmatrix (Parson) |
| on Aug 02, 2006 at 14:01 UTC ( #565228=note: print w/ replies, xml ) | Need Help?? |
|
Your x!! approach is nifty, but it's a little hard to read: the double-negation is confusing unless explained, and the x operator seems to be out of place in this context. I have always found one of these easier to read:
If you need to preserve the parts seperately:
I prefer these because:
<–radiant.matrix–>
A collection of thoughts and links from the minds of geeks The Code that can be seen is not the true Code I haven't found a problem yet that can't be solved by a well-placed trebuchet
In Section
Meditations
|
|
||||||||||||||||||||||||||