http://www.perlmonks.org?node_id=962387


in reply to Re: Odd workings of split
in thread Odd workings of split

Sometimes I’m in a regexy mood and would do a lot of things with regexes — I was feeling oddly anti-regex when I wrote this and hence my preference to split’s 0th result. It’s also an… obvious way, I guess :)