develooper Front page | perl.perl5.porters | Postings from August 2003

Re: [PATCH] File::Spec::Win32

Thread Previous | Thread Next
Ken Williams
August 18, 2003 14:01
Re: [PATCH] File::Spec::Win32
Message ID:

On Monday, August 18, 2003, at 07:16  AM, Mattia Barbon wrote:

>   Hello,
> this is the version in maintperl (File::Spec::Win32 version = 1.4,
> File::Spec version = 0.86), and it's currently broken, because it 
> calls a
> ->cwd method on itself, which isn't present. Patch adds the method 
> (back?).
>   Alternatives are renaming the method to _cwd (since it's not 
> documented)
> or rewrite the code to explicitly do the require (as in 
> File::Spec::Unix).

Hi Mattia,

Looks like a big File::Spec patch got into maintperl without me 
noticing it.  Thanks for letting me know.

I'm a little confused, because File::Spec::Win32 inherits from 
File::Spec::Unix, which provides a cwd() method.  Are you sure you're 
seeing the problem correctly?  I also added a regression test that 
makes sure that File::Spec::Win32->can('cwd'), and it passes.


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