develooper Front page | perl.perl5.porters | Postings from February 2013

Re: File::Spec in XS

Thread Previous | Thread Next
February 28, 2013 17:43
Re: File::Spec in XS
Message ID:
Steffen Mueller wrote:
>sort of the closest to a maintainer that File::Spec has,

That's the sense of "maintain" that I meant.  I'm aware that it's

>I wonder whether it has any impact on portability?

Shouldn't.  Quite a lot of the complexity comes from making sure not
to break the File::Spec::Unix methods in their role as methods that are
inherited by File::Spec::$notunix; they have to play nicely in composition
with other methods.  At the same time I want to get the Unix catdir as
an XS function that isn't performance-encumbered by the OO mechanism.
I also added logic to fall back to pure Perl, in the way that
already does, for XS-impaired systems.  Hence having three or four
versions of all the critical methods.

>Would you be willing to do the work involved? You have commit access, right?

I can merge into blead, sure, if there's a consensus to go for it.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About