Perl's lack of 'in' keyword

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

On Wed, 08 Oct 2008 16:08:21 +0100
Andy Wardley <abw at> 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
ICQ# 4135350       |  Registered Linux# 179460
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the mailing list