Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Function Split, bug or error in the documentation?by ikegami (Patriarch) |
on Jul 31, 2020 at 14:30 UTC ( [id://11120145]=note: print w/replies, xml ) | Need Help?? |
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//.
In Section
Seekers of Perl Wisdom
|
|