Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Special cases make special communityby ikegami (Patriarch) |
on Feb 01, 2009 at 08:37 UTC ( [id://740518]=note: print w/replies, xml ) | Need Help?? |
split removes blank trailing elements when the third arg isn't specified. Specify -1 if you want no limit without removing blank trailing elements.
Backwards compatibility. They picked a syntax that was unlikely to break any existing patterns, allowing code from earlier versions of Perl to continue to work in newer versions.
In Section
Meditations
|
|