Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Perl script for the post processing of one CSV fileby rjt (Curate) |
on Oct 03, 2019 at 05:52 UTC ( [id://11106987]=note: print w/replies, xml ) | Need Help?? |
What have you tried already? See How do I post a question effectively?, but you have at least provided some good sample input and output, so that's a good start. See Text::CSV for the CSV processing.
This is just a skeleton to get you started. Certainly more code than you posted. The code will require modification, does not output anything, and some of my simple logic may prove to be inadequate, but hopefully illustrates the general approach you might take. Definitely read the Text::CSV manual thoroughly, and probably perldata as well.
use strict; use warnings; omitted for brevity.
In Section
Seekers of Perl Wisdom
|
|