Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Devel-PPPort: fix strict hashpairs
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed May 14, 2017
1 parent 917d158 commit c402e0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpan/Devel-PPPort/parts/inc/ppphbin
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

=implementation

use strict;
use strict qw(refs vars subs);

# Disable broken TRIE-optimization
BEGIN { eval '${^RE_TRIE_MAXBUF} = -1' if $] >= 5.009004 && $] <= 5.009005 }
Expand Down Expand Up @@ -259,8 +259,10 @@ else {

if (!@ARGV || $opt{filter}) {
my(@in, @out);
my %xsc = map { /(.*)\.xs$/ ? ("$1.c" => 1, "$1.cc" => 1) : () } @files;
my %xsc = map { /(.*)\.xs$/ && ("$1.c" => 1) } @files;
#warn "\@files=",@files,"\%xsc=",join ",",keys %xsc;
for (@files) {
if (/^(.*)\.xs$/) { $xsc{"$1.cc"} = 1; }
my $out = exists $xsc{$_} || /\b\Q$ppport\E$/i || !/($srcext)$/i;
push @{ $out ? \@out : \@in }, $_;
}
Expand Down
1 change: 1 addition & 0 deletions cpan/Devel-PPPort/t/testutil.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
else {
print "not ok $__ntest\n"
}
$ok
}
}

Expand Down

0 comments on commit c402e0c

Please sign in to comment.