in reply to split on commas

How about @fields = split /[>)],[<(]/ , $line;