Re: List::RewriteElements

2006-12-17 Thread Andy Armstrong
On 16 Dec 2006, at 17:16, James E Keenan wrote: So, while List::RewriteElements can certainly be used to transform elements of an array, a module name like 'Array::RewriteElements' would be overly narrow. Indeed. I was suggesting that List:: was also too narrow for the same reason

Re: List::RewriteElements

2006-12-17 Thread James E Keenan
James E Keenan wrote: CPAN appears to be having some problem accepting uploads right now. You can find v0.06 at http://thenceforward.net/perl/modules/List-RewriteElements/List-RewriteElements-0.06.tar.gz The CPAN hiccups cleared up after a couple of hours, so you can now get List

Re: List::RewriteElements

2006-12-16 Thread James E Keenan
James E Keenan wrote: David Landgren wrote: Question: (?:how)? does your module deal with positional records (that is, fixed width fields)? It doesn't (at least not yet). I think I'm wrong. Thinking a bit more about the code, I suspect there's no inherent reason it can't handle

Re: List::RewriteElements

2006-12-16 Thread Andy Armstrong
On 15 Dec 2006, at 21:39, David Landgren wrote: I vote for Transform. Possibly more Data than List but I wouldn't argue it for long. List:: has the connotation doing things to Perl arrays I think. -- Andy Armstrong, hexten.net

Re: List::RewriteElements

2006-12-16 Thread James E Keenan
David Landgren wrote: Question: (?:how)? does your module deal with positional records (that is, fixed width fields)? as opposed to delimited records? Contradicting my earlier doubts about this, List::RewriteElements does can be used to rewrite elements of fixed-width records. I've

Re: List::RewriteElements

2006-12-16 Thread James E Keenan
::RewriteElements, the result of the rewriting of a particular element in a list is immediately printed to STDOUT or to a file. It is not held in an array. So, while List::RewriteElements can certainly be used to transform elements of an array, a module name like 'Array::RewriteElements' would be overly

Re: List::RewriteElements

2006-12-16 Thread James E Keenan
James E Keenan wrote: I've just uploaded v0.06 to CPAN. CPAN appears to be having some problem accepting uploads right now. You can find v0.06 at http://thenceforward.net/perl/modules/List-RewriteElements/List-RewriteElements-0.06.tar.gz jimk

Re: List::RewriteElements

2006-12-15 Thread David Landgren
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

Re: List::RewriteElements

2006-12-15 Thread James E Keenan
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