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;