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

Re: File::Spec in XS

Thread Previous | Thread Next
From:
Zefram
Date:
February 28, 2013 17:43
Subject:
Re: File::Spec in XS
Message ID:
20130228174300.GE28131@lake.fysh.org
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
upstream=blead.

>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 Cwd.pm
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.

-zefram

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