in reply to duplicating the rows and joining three lines into one using perl script

Fantastic :) you could start with Text::CSV_XS maybe csvpaste.pl or ...
  • Comment on Re: duplicating the rows and joining three lines into one using perl script

Replies are listed 'Best First'.
Re^2: duplicating the rows and joining three lines into one using perl script
by Laurent_R (Canon) on Oct 07, 2015 at 08:12 UTC
    Sure, that module could be used, but the problem does not require any parsing of the CSV lines (except identifying the type of line with the two or three first characters), it actually does not even need to know that the lines are CSV.

    Using a CSV module for that seems IMHO to be overkill.