Perl's lack of 'in' keyword

Paul LeoNerd Evans leonerd at leonerd.org.uk
Thu Oct 9 00:55:38 BST 2008


On Wed, 08 Oct 2008 16:08:21 +0100
Andy Wardley <abw at wardley.org> wrote:

> However, I certainly would be in favour of having an extra 'in' keyword

There's always a danger when adding new keywords that they'll clash with
existing functions in existing code, given as they're barewords. That's
why 5.10 has the 'use feature' pragma for switch/etc...

I suppose you could

  use feature qw( in );

but then does it really buy all that much?

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://london.pm.org/pipermail/london.pm/attachments/20081009/8b4b8664/signature-0001.pgp


More information about the london.pm mailing list