You're assuming split was written to easily count the number of tokens.
Um. Nope. I made no such assumption. Thats purely your assumption.
I agree part way. I can see the thought train that leads to some of it. I've written this function that splits strings. It can be called in 3 contexts. What is the logical thing to do in those contexts?
But, I fail to see a good (nor even a bad) use case for returning the count AND sticking the bits in @_.
Maybe there's one, but I just don't see it. If it stuck them in @F per -a, maybe.
In reply to Re^4: More intelligent warning?
by BrowserUk
in thread More intelligent warning?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |