http://qs321.pair.com?node_id=11120145


in reply to Re: Function Split, bug or error in the documentation?
in thread Function Split, bug or error in the documentation?

split_e( // ), short for split_e( $_ =~ m// ), performs a match operation. You want split_e( qr// ).

split is an operator. And like all operators, it has full control over the syntax of its operands. split /.../, ... is functionally equivalent to split qr/.../, .... Keep in mind that split predates qr//.