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

Re: MM_Win32.t failures (caused by PathTools upgrade)

Thread Previous
From:
Michael G Schwern
Date:
February 1, 2008 16:18
Subject:
Re: MM_Win32.t failures (caused by PathTools upgrade)
Message ID:
47A3B6C9.30605@pobox.com
Steve Hay wrote:
>> Oh, I was thinking wrong.  MakeMaker is doing the right thing,
>> meaning it's just doing what File::Spec does.  MakeMaker can be
>> removed from consideration as part of the bug.  MakeMaker's test is
>> wrong and should be using catpath(). 
> 
> OK. Someone needs to change the test script, then. I'll look when I find
> time if no-one else has done by then.

It's ok, I'll get it.


>> print join "\n", File::Spec->splitpath('C:\trick\file');
>> print File::Spec->catpath("C:", File::Spec->catdir("", "trick"),
>> "file"); 
>>
>> It should say:
>> C:
>> \trick\
>> file
>> C:\trick\file
> 
> Yes (except that you missed a newline between your print()s).

Sorry, I tend to use -l


-- 
THIS I COMMAND!

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About