in reply to Reading in data that is
split() would not get rid of the quotes and stuff. split() with the first argument omitted splits on whitespaces.
You might want to look at Text::ParseWords