develooper Front page | perl.perl5.porters | Postings from March 2001

Re: [PATCH] CwdXS, Take 2

Thread Previous | Thread Next
From:
Benjamin Sugars
Date:
March 29, 2001 20:32
Subject:
Re: [PATCH] CwdXS, Take 2
Message ID:
Pine.LNX.4.21.0103292306060.1168-100000@localhost.localdomain
On Thu, 29 Mar 2001, Jarkko Hietaniemi wrote:

> I have still one issue: I don't like the name CwdXS at all.
> The implementation mechanism of the extension shouldn't be part of
> the name.  I suggest studying how Data::Dumper has solved this problem.

Fair enough, but I'm not sure it's the same problem; Data::Dumper seems
like JAXSM [*].

What I'm up against is that to keep everything in the Cwd namespace, I
need the files Cwd.pm, Cwd.xs, and Makefile.PL in the ext/Cwd directory.
BUT, if lib/Cwd.pm doesn't exist (and work), none of the extensions will
get built.  That means the module's files will have to be split between
lib and ext thusly:

lib/Cwd.pm
ext/Cwd/Cwd.xs
ext/Cwd/Makefile.PL

Having a single module's files spread out that way seems a little messy.  
However, assuming that mess is the least smelly of the two, I'll roll
another patch accordingly.

Cheers,
-Ben

[*] - Just Another XS Module

-- 
Benjamin Sugars <ben.sugars@home.com>


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