|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re: Understanding Split and Joinby duff (Parson) |
| on Dec 28, 2006 at 09:44 UTC ( [id://592054]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'd put more emphasis on the fact that the first argument to split is always, always, always a regular expression (except for the one special case where it isn't :-). Too often do I see people write code like this: And expect it to split on the pipe symbol because they have fooled themselves into thinking that the first argument is somehow interpreted as a string rather than a regular expression.
In Section
Tutorials
|
|
||||||||||||||||||||||||