|
|
| P is for Practical | |
| PerlMonks |
Re^2: does split(".") work?by jwkrahn (Prior) |
| on Nov 16, 2009 at 00:23 UTC ( #807339=note: print w/ replies, xml ) | Need Help?? |
|
Dot "." is the "match-all" character in a regex so your split won't return anything. Actually split returns a lot of things, it's just that the way list assignment works there is nothing left to put in the array. If you make a slight change you can see everything that split returns:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||