We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16add2f + d3166c6 commit 7703dc3Copy full SHA for 7703dc3
bin/cpan_testers_api.pl
@@ -88,7 +88,7 @@
88
}
89
90
# maybe use Data::Compare instead
91
- for my $condition (qw(fail pass na unknown)) {
+ for my $condition (qw< fail pass na unknown >) {
92
last if $insert_ok;
93
if ( ( $tester_results->{$condition} || 0 ) != $row->{$condition} ) {
94
$insert_ok = 1;
@@ -97,7 +97,7 @@
97
98
next unless $insert_ok;
99
100
- my %tests = map { $_ => $row->{$_} } qw(fail pass na unknown);
+ my %tests = map { $_ => $row->{$_} } qw< fail pass na unknown >;
101
$bulk->update( {
102
doc => { tests => \%tests },
103
doc_as_upsert => 1,
0 commit comments