David Landgren wrote:
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.
And, oooh, I wish you had gotten back to me two days ago. I finally
finished all the tests, docs, etc., and since I hadn't had any other
feedback, I went ahead and uploaded it to CPAN under the name
List::RewriteElements. http://search.cpan.org/dist/List-RewriteElements/
[snip]
Question: (?:how)? does your module deal with positional records (that
is, fixed width fields)?
It doesn't (at least not yet -- to quote Andy, "patches welcome").
That's only because I have to deal with delimited records far more than
fixed widths.
Perhaps in a future version! Thanks for taking a look at it.
jimk