Because Text::CSV_XS has been on CPAN 6 years and has many users. And because one of the most useful features that Text::xSV has over Text::CSV_XS, is that it's pure perl. Also, this is a very minor re-working of Text::CSV_XS - it already does all of these things but with an interface which some find confusing. | [reply] |
| [reply] |
I didn't choose the name, but I agree. I'm certainly not going to do away with Text::CSV_XS since, as I said it has many users, is included e.g. in many linux distros, etc. so would cause unpredictable incoveniences to drop the name. But I agree that it would be great to combine the two and I've suggested as much to Tilly previously - we've not done it out of time constraints rather than interest. If you look at Comparison of the parsing features of CSV (and xSV) modules, you'll see that Text::CSV_XS has several parsing options that Text::xSV does not (mostly things not needed in ordinary CSV parsing but quite useful for odd legacy formats) so the two modules have other differences than the perl/C differences. I think Text::xSV::Fast might be a good idea, why don't you write it? It could simply subclass Text::CSV_XS and provide some wrappers to implement the Text::xSV interface.
| [reply] |
I never understood the completely artificial separation between Pure-Perl versions and XS versions, not when we have an extensible build system that can require input from the installing user.
Surely at some point in time, you must have seen posts that say "I can't use a module because...". The most common reason quoted is lack of privileges for installing modules, the lack of tools, or lack of the necessary skill. In such a case, installing an XS module is next to impossible...
At least Pure Perl modules don't actually require proper installation, they can be made to work perfectly with just a few manual kludges. In such a case, "installing" a module is in the same realm as doing so for a script.
| [reply] |