Not so useful for a short list like this with only two elements, but
Not much of a gain here, but imagine if the list were 20-30 elements.if(not @{[grep {$day == $_} (0,6)]}) { # foo }
In reply to Re: Short or Long Hand
by rsteinke
in thread Short or Long Hand
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |