Every other

Philip Newton philip.newton at gmail.com
Fri Oct 30 10:52:00 GMT 2009


On Fri, Oct 30, 2009 at 11:35, Mark Fowler <mark at twoshortplanks.com> wrote:
> Compared to:
>
> perl -MO=Terse -e 'my $i; @new = grep { $i != $i } @old;'

Irrelevant, since that doesn't do what you want. (Hint: swap '=' and '!'.)

Cheers,
Philip
-- 
Philip Newton <philip.newton at gmail.com>


More information about the london.pm mailing list