Skip to content

Commit

Permalink
avoid syntax that's not understood by perl 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Aug 4, 2022
1 parent 3d3f421 commit c7bfa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/App/perlbrew.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2666,7 +2666,7 @@ sub list_modules {
"TAP::Harness::Multiple" => "TAP::Harness::ReportByDescription",
);
return [map { $rename{$_} // $_ } grep { $_ ne "Perl" } split( /\n/, $stdout )];
return [map { $rename{$_} || $_ } grep { $_ ne "Perl" } split( /\n/, $stdout )];
}
sub run_command_list_modules {
Expand Down

0 comments on commit c7bfa2d

Please sign in to comment.