Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 45470
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.9304
  • 1.93_02
  • 1.93_03
  • 1.93_51
  • 1.93_52
Fixed in: (no value)



Subject: [PATCH] CPAN::Distroprefs: bug in synopsis example
When reusing the original example code from SYNOPSIS as is, any error loading a distropref file is hidden. In lib/CPAN/Distroprefs.pm SYNOPSIS example : warn $result->as_string, next if $result->is_warning; It should be: warn($result->as_string), next if $result->is_warning;
Thanks, applied!