[Israel.pm] Is there an operator like IN in perl

Mikhael Goikhman migo at homemail.com
Thu Mar 5 08:47:02 PST 2009


On 05 Mar 2009 18:26:41 +0200, Offer Kaye wrote:
> 
> On Thu, Mar 5, 2009 at 5:51 PM, Mikhael Goikhman wrote:
> >
> > So the only real problem of this powerful operator is that it requires
> > perl 5.10. Meaning, for example, I can't use it in my projects yet.
> 
> Another problem is that it is going to be changed in 5.10.1 in
> non-backwards-compatible ways. See:
> http://www.nntp.perl.org/group/perl.perl5.porters/2009/03/msg144727.html
> 
> So even if I could use it, I wouldn't ;)

The most common cases will not be changed, or changed in dwimmy ways,
including the case we are discussing here. So I don't think this is a
reason not to use it now for those who can. But thanks for the info.

Regards,
Mikhael.

-- 
perl -e 'print+chr(64+hex)for+split//,d9b815c07f9b8d1e'



More information about the Perl mailing list