Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/CPAN.pm
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ sub _yaml_module () {
&&
$CPAN::META->has_inst($yaml_module)
&&
$YAML::VERSION < 0.60
!eval { YAML->VERSION(0.60) }
&&
!$Have_warned->{"YAML"}++
) {
Expand Down Expand Up @@ -1255,7 +1255,7 @@ sub has_inst {
# as a proxy for a checksum.
$CPAN::Shell::reload->{$file} = $mtime;
my $v = eval "\$$mod\::VERSION";
$v = $v ? " (v$v)" : "";
$v = $v ? " ($v)" : "";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now will this still work as expected if YAML.pm goes back to decimal, which I'm intending to do? This is just informal output, right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it was wrong regardless

CPAN::Shell->optprint("load_module","CPAN: $mod loaded ok$v\n");
if ($mod eq "CPAN::WAIT") {
push @CPAN::Shell::ISA, 'CPAN::WAIT';
Expand Down