develooper Front page | perl.perl5.porters | Postings from July 2009

Re: [PATCH] Remove implicit split to @_

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
July 10, 2009 08:33
Subject:
Re: [PATCH] Remove implicit split to @_
Message ID:
20090710153309.GB24401@klangraum.plasmasturm.org
* Ben Morrow <ben@morrow.me.uk> [2009-07-10 17:25]:
> One good reason might be: someone who writes something on 5.12,
> and doesn't know the history of scalar split, will get a nasty
> surprise when they run that code on <=5.10.

The default could be to die in scalar context, and returning a
count could require `use 5.011`.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About