in reply to
Problem using | char as delimiter for split
You want to put a backslash before the pipe (|). What you wrote says to split on '' or '', which will match between the characters, so you get the first five.
Comment on
Re: Problem using | char as delimiter for split
In Section
Seekers of Perl Wisdom