Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 33675
Status: resolved
Priority: 0/
Queue: PathTools

Owner: Nobody in particular
Requestors: melazyboy [...]

Bug Information
Severity: Critical
Broken in: 3.2701
Fixed in: (no value)

Subject: failed test.
Download (untitled) / with headers
text/plain 385b
as it currently stands this prevents clean installs of most everything on Win32, using the new 3.2701. use Test::More tests => 1; use File::Spec::Win32; my $wdir = 'C:/strawberry'; $wdir =~ s[:][]g; $wdir =~ /(.*)/; my $result = File::Spec::Win32->catfile('C:/cache', $1); ok( $result eq "C:\cache\C\strawberry", "Failed simple test got $result expected C:\cache\C\strawberry" ); 1;
From: melazyboy [...]
From: kwilliams [...]
Download (untitled) / with headers
text/plain 202b
There's a mistake in your test, here: Show quoted text
> ok( $result eq "C:\cache\C\strawberry", ...
The first backslash is producing control-a, then the other two are ignored because they don't mean anything. -Ken
Download (untitled) / with headers
text/plain 129b
I've applied a fix for this issue, though I still contend TT is being naughty by passing a bare $1 in function arguments. -Ken

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to