in reply to Re: splitting cvs file without line breaks
in thread splitting cvs file without line breaks

thanks all for your input. I was thinking of using a regex based on matching x comma separated fields, and cutting it of the rest of the line, so that I would not have to hard code it based on a date or any other type of content.

something like

$file =~ m/((\".*\"|\d+|[\d :]+),){6} (.*)/; $line = $1; $restoffile = $2;

I'll see if this works, otherwise I'll punch up one of these suggestions.

rendier