http://qs321.pair.com?node_id=489211

Angharad has asked for the wisdom of the Perl Monks concerning the following question:

Hi there. This is a question for a friend rather than myself. I cant think of anyway around it, other than modify the file so to put a space between each one and split on that but anyway. If one has the following info in a text file
"foo1","foo2","foo3","foo4","foo5","foo6","foo7","foo8","foo9"
How might one split is so for example you extract "foo1", .. including the ',' in the variable? Splitting in the ',' removes it of course from the equation. Thanks.