develooper Front page | perl.perl6.stdlib | Postings from August 2001

Re: Perl 6 modules plan

Thread Previous | Thread Next
From:
Graham Barr
Date:
August 13, 2001 15:24
Subject:
Re: Perl 6 modules plan
Message ID:
20010813104527.O7667@pobox.com
On Sat, Aug 11, 2001 at 07:20:11PM -0400, schwern@pobox.com 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.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About