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

Re: File::Spec in XS

Thread Previous
March 1, 2013 09:50
Re: File::Spec in XS
Message ID:
Craig A. Berry wrote:
>Are you saying that "catdir" you're calling could be
>File::Spec::VMS::catdir or File::Spec::Win32::catdir?

Not those specific ones.  File::Spec::VMS and File::Spec::Win32
both override catfile, so won't invoke the Unix catfile.  But
File::Spec::Cygwin and File::Spec::OS2 both override catdir while
inheriting catfile from ::Unix.  In those cases, the Unix catfile invokes
the overridden catdir.  That's the existing behaviour of the pure Perl
code, and the XS must preserve it.


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