Using "foo" instead of foo seems to create the false impression that split will work with either a regular expression or an exact string. Then you see things like split ".", which should really be split /\./.
Split only takes a regex (with the confusing exception of " "), so show it that way.
In reply to Re: split but not consumed
by ysth
in thread split but not consumed
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |