in reply to Pattern with split

This may not help at all (as you haven't actually told us what you're trying to do or what problems you are having) but have you looked at Text::ParseWords.

Alternatively, if you have a specification for what all your potential input data looks like, then perhaps you can build a parser for it using Parse::RecDescent.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg