I wrote a streaming CSV parser yesterday because I couldn't find a CSV
parsing module that does what I want (despite the plethora of available
choices). The parsing rules are pretty simple:
1) At the start of a field, if you find a quote string, eat the quote
string and go to the state that
A. Pagaltzis wrote:
* Jim Schneider [EMAIL PROTECTED] [2007-11-25 20:00]:
BTW, the name I'm currently using for this module is
CSV::Parse - let me know if you have a specific suggestion
for a name you like better.
There is already a Parse::CSV on CPAN. I think it would be a bit
David Cantrell wrote:
On Sun, Nov 25, 2007 at 01:59:46PM -0500, Jim Schneider wrote:
I wrote a streaming CSV parser yesterday ...
If anyone knows of a module on CPAN that does all this, please let me
know. Otherwise, I'll upload my module sometime in the next week or two.
BTW, the name
Joshua ben Jore wrote:
Didn't you just reinvent Text::CSV_XS? The only tweak required is
saying binary to enable the use of newlines inside quoted fields.
-new({
binary = 1,
# defaults
eol = qq(\r\n),
sep_char = q(,),
quote_char = q(),
escape_char = q(),
})
Josh
It
A. Pagaltzis wrote:
even with the current interface,
it’s possible to load a to.pm if you do it this way:
use relative to = __PACKAGE __, qw(to from before after boo);
But that’s a) noisy b) less than self-suggesting.
My I suggest this:
use relative to = self, qw(foo bar roo);
Ovid wrote:
Being an *extremely* political creature, I'm sorely tempted to wade
into this mess, but I won't. Can we just agree to stick to the
license's suitability for the CPAN?
Cheers,
Ovid
Perhaps this is just a me, too...
The law of unintended consequences (Every action has at least two
Perhaps Finance::Calculator::Mortgage?
- Original Message -
From: Dmitri Tikhonov [EMAIL PROTECTED]
To: Smylers [EMAIL PROTECTED]
Cc: module-authors@perl.org
Sent: Wednesday, November 01, 2006 9:32 AM
Subject: Re: RFC: new module Finance::MortgageCalculator
Mortgages may compound
From: A. Pagaltzis [EMAIL PROTECTED]
DBIx::ORM::Declarative?
Perfect! Thank you so much.
I appologize. I wasn't terribly clear. I was hoping for suggestions as to
what name would be appropriate - I'm quite well aware that the names I have
are bad.
David Landgren wrote:
David Golden wrote:
Jim Schneider wrote:
-snip-
I think you may be best if you come up with your own DBIx
I have three modules I am preparing to submit to
CPAN, and I was hoping to get some input on the names.
The modules are:
1) DBIx::Class::Simple - a simpler
alternative to DBIx::Class, but alas, not compatible (not even a little
bit). It takes a collection of data structures that describe
10 matches
Mail list logo