http://www.perlmonks.org?node_id=1013868


in reply to Split file using perl and regexp

Have you looked into using any of the various CSV modules?