Perl's lack of 'in' keyword
Iain Barnett
iainspeed at gmail.com
Tue Oct 7 17:50:02 BST 2008
On 7 Oct 2008, at 4:09 pm, Abigail wrote:
> On Tue, Oct 07, 2008 at 04:04:11PM +0100, Paul Makepeace wrote:
>> ... is starting to frustrate me. It's the one feature I am finding
>> I'm
>> really missing from That Other Language.
>>
>> if ($bar in @foo) {
>> # ...
>> }
>>
>> (Does Perl 6 have it?)
>
>
> Why wait for Perl 6? Perl 5 has had it for almost a year now. It's
> spelled ~~ though.
>
Is there some reason why -- was picked over 'in' ? It just seems to
pander to those who think perl reads like line noise.
Iain
More information about the london.pm
mailing list