Skip Menu |

This queue is for tickets about the Test-Compile CPAN distribution.

Report information
The Basics
Id: 45084
Status: resolved
Priority: 0/
Queue: Test-Compile

People
Owner: Nobody in particular
Requestors: perl [...] galumph.com
Cc:
AdminCc:

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



Subject: [Patch] Make Test::Compile work on Windows.
Date: Thu, 16 Apr 2009 08:39:12 -0500
To: bug-test-compile [...] rt.cpan.org
From: Elliot Shank <perl [...] galumph.com>
Patch is against v0.08.
=== modified file 'lib/Test/Compile.pm' --- lib/Test/Compile.pm 2009-04-16 13:32:57 +0000 +++ lib/Test/Compile.pm 2009-04-16 13:34:45 +0000 @@ -42,8 +42,8 @@ } my $module = $file; - $module =~ s!^(blib/)?lib/!!; - $module =~ s!/!::!g; + $module =~ s!^(blib[/\\])?lib[/\\]!!; + $module =~ s![/\\]!::!g; $module =~ s/\.pm$//; my $ok = 1;
fixed in v0.09. Thanks for reporting it!