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

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

Thread Previous | Thread Next
From:
Ken Williams
Date:
August 18, 2003 14:01
Subject:
Re: [PATCH] File::Spec::Win32
Message ID:
2780B3F2-D1BF-11D7-84BF-003065F6D85A@mathforum.org

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.

  -Ken


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