James E Keenan did write:
I am preparing a module for CPAN tentatively titled List::RewriteElements. Given a list of data records, typically in the form of a flat file, optionally containing a header row, I am frequently asked to generate a new file in which each record is transformed according to some rule or deleted according to some criterion. This module makes it easier for me to do so.

oooh, me too. I wish you had published this two months ago, because that's all I've been doing recently.

I have not yet implemented all of the module's functionality (as specified in the documentation), but what is present has high test coverage. I am wondering if people have any better suggestions for a name for the module. I've thought of things like List::Transform, List::TransformRecords, etc.

I vote for Transform. Possibly more Data than List but I wouldn't argue it for long.

Question: (?:how)? does your module deal with positional records (that is, fixed width fields)? as opposed to delimited records?

For instance, I sometimes want to apply a hash lookup to the fourth field of ten, to map values from one system to another.

David
--
"It's overkill of course, but you can never have too much overkill."

Reply via email to