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

Re: Prefixification and relative directories (Re: any 5.10.1showstoppers?)

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
August 5, 2009 12:27
Subject:
Re: Prefixification and relative directories (Re: any 5.10.1showstoppers?)
Message ID:
4A79DD03.7040409@pobox.com
Dave Mitchell wrote:
> I tried applying it to blead, but got lots of test failures in
> lib/ExtUtils/t/00compile.t:

I guess that explains what all that code in 00compile.t that I tore out was
doing.  Here it is back.

--- 00compile.t
+++ 00compile.t
@@ -20,9 +20,10 @@ BEGIN {
 chdir "..";
 my $manifest = "MANIFEST";
 open(my $manifest_fh, "<", $manifest) or die "Can't open $manifest: $!";
-my @modules = map { m{^lib/(\S+)}; $1 }
-              grep { m{^lib/\S+\.pm} }
-              <$manifest_fh>;
+my @modules = map  { m{^lib/(\S+)}; $1 }
+              grep { m{^lib/ExtUtils/\S*\.pm} }
+              grep { !m{/t/} } <$manifest_fh>;
+
 chomp @modules;
 close $manifest_fh;



-- 
91. I am not authorized to initiate Jihad.
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

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