Perl's lack of 'in' keyword

Jonathan Stowe jns at integration-house.com
Thu Oct 9 14:36:07 BST 2008


2008/10/9 Dirk Koopman <djk at tobit.co.uk>:
> Jonathan Stowe wrote:
>>
>> 2008/10/9 Andy Armstrong <andy at hexten.net>:
>>>
>>> On 9 Oct 2008, at 01:39, Iain Barnett wrote:
>>
>>>> if a in b               #this is even better IMO
>>
>> I think this is the previous without *any* "funny characters". Y'know
>> like python or cobol or C
>>
>
> One presumes that this sort of thing:-
>
> my @l;
>
> foreach my $l (@l) {
>   ...
> }
>
> is now (even more) deprecated by the perl thought police?
>

Nah, it's not the "perl thought police" you have to worry about with
that one - it's the radical functional programming fifth columnists
posing as otherwise respectable members of the perl community ...

/J\


More information about the london.pm mailing list