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

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

Thread Previous
Michael G Schwern
February 1, 2008 16:18
Re: MM_Win32.t failures (caused by PathTools upgrade)
Message ID:
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


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