A tiny correction: split doesn't return undef, it returns the empty list. Accessing [ (empty list) ]->[0] is what produces the undef.
Ahhhhhhhhhhhhhh, that makes sense! Thanks!
In reply to Re^2: Odd workings of split
by Ralesk
in thread Odd workings of split
by Ralesk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |