Re: Perl 6 modules plan
[email protected] (Tim Bunce) Tue, 14 Aug 2001 11:52:18 +0100
| Newsgroups | perl.perl6.stdlib |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 13, 2001 at 10:45:27AM +0100, Graham Barr wrote: > 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. The XS version of Data::Dumper has slightly less functionality, sadly. Tim.