I think that using quotes suppresses regular expression processing in split, though.)Nope:
Which is why you should always use // (or m:: or whatever). Without that habit, it's easier to say things like split "." (which devours all input except newlines :) or split "?" (which dies, since that's not a valid regex) by accident.$ perl -wle'print for split "b+", "abbc"' a c
Though, as I said, split ' ' is an exception.
In reply to Re: Re: A question on splitting
by ysth
in thread A question on splitting
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |