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

[PATCH] split improvements

Thread Next
From:
Bo Borgerson
Date:
August 25, 2009 19:07
Subject:
[PATCH] split improvements
Message ID:
4A949896.3010203@gmail.com
Hi,

I saw on the corehackers wiki some ideas for improving Perl's "split" op:

- Improve the performance of split in scalar context
- Remove the long deprecated feature where split in scalar context 
writes to @_
- Make split in void context a warning

The attached patch does these three things.

This is my first big hack into Perl guts.  I would appreciate any 
feedback you could give me.

Thanks,

Bo

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