Re: Perl 6 modules plan
[email protected] (Graham Barr) Mon, 13 Aug 2001 10:45:27 +0100
| Newsgroups | perl.perl6.stdlib |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 11, 2001 at 07:20:11PM -0400, [email protected] wrote: > On Sat, Aug 11, 2001 at 02:16:49PM -0500, Jarkko Hietaniemi wrote: > > One silliness is that the implementation "style" of the module > > seems to creep to the naming: > > > > (1) Foo vs Foo_XS > > Well then, how do you name it? For example, Text::CSV. There's a > pure perl implementation and an XS implementation. If they're both in > the same tarball, it should probably be Text::CVS::Perl and > Text::CVS::XS with Text::CSV acting as a little wrapper to choose > which one. Simple enough. > Why do they need to be named differently ? Only one will be installed. I did this with the Scalar-List-Utils distribution. It contained both a perl implementation and an XS implementation. But decided which to install at build time. Graham.