in reply to
splitting a string
From the perldoc documentation, if the LIMIT (3rd Argument) is unspecified or zero, trailing null fields are stripped off. If you don't want that then pass the LIMIT as -1.
Comment on
Re: splitting a string
In Section
Seekers of Perl Wisdom