laziness, impatience, and hubris | |
PerlMonks |
Re^3: Different behaviour in characters in string vs. array?by ccn (Vicar) |
on Dec 10, 2008 at 22:35 UTC ( [id://729536]=note: print w/replies, xml ) | Need Help?? |
perldoc -f split
A pattern matching the null string (not to be confused with a null pattern // , which is just one member of the set of patterns matching a null string) will split the value of EXPR into separate characters at each point it matches that way. The characters are one byte length unless you specify utf8 encoding, so split splits every double byte russian charachter to a couple ASCII characters.
In Section
Seekers of Perl Wisdom
|
|