Front page | perl.perl5.porters |
Postings from March 2013
Re: File::Spec in XS
Thread Previous
From:
Zefram
Date:
March 1, 2013 09:50
Subject:
Re: File::Spec in XS
Message ID:
20130301095041.GG28131@lake.fysh.org
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.
-zefram
Thread Previous