in reply to newbie split question

You may also want to take a look at Text::ParseWords, it knows how to split taking quotes into account, preserving escaped characters, etc.