Perl's lack of 'in' keyword
Jonathan Stowe
jns at integration-house.com
Tue Oct 7 16:25:29 BST 2008
2008/10/7 Abigail <abigail at abigail.be>:
> 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.
>
Same number of characters - that's fine :-)
More information about the london.pm
mailing list