in reply to Short or Long Hand
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 }
|
---|
Replies are listed 'Best First'. | |
---|---|
•Re^2: Short or Long Hand
by merlyn (Sage) on Aug 12, 2004 at 16:04 UTC | |
by roju (Friar) on Aug 19, 2004 at 16:36 UTC | |
Re^2: Short or Long Hand
by Scarborough (Hermit) on Aug 12, 2004 at 15:26 UTC | |
by ysth (Canon) on Aug 12, 2004 at 17:21 UTC |