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

Re: [PATCH] Remove implicit split to @_

Thread Previous | Thread Next
David E. Wheeler
July 9, 2009 15:56
Re: [PATCH] Remove implicit split to @_
Message ID:
On Jul 9, 2009, at 3:44 PM, Yitzchak Scott-Thoennes wrote:

> I'm not completely satisfied that "fixing" scalar context is the right
> thing to do; just like with sort, where there are several "right"  
> scalar
> context behaviors.
> With my C hat on, I'd expect it to return the first field, like  
> strtok.
> Without it, I'd be as inclined to expect the last field as to expect
> a count.

Sound like either way you wouldn't be expecting an error, yes?



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About