Skip to content

Commit

Permalink
Use %Module::CoreList::bug_tracker to print out upstream bug tracker …
Browse files Browse the repository at this point in the history
…URLs.

Where the user names a module that their bug report is about, and we know the
URL for its upstream bug tracker, provide a message to the user explaining
that the core copies the CPAN version directly, and provide the URL for
reporting the bug directly to upstream.
  • Loading branch information
nwc10 committed Apr 23, 2009
1 parent 29cab1c commit 0accdd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions utils/perlbug.PL
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,12 @@ its name correctly. If it is correct, quit this program, try searching
for $entry on http://rt.cpan.org, and report your issue there.
EOF
$entry = '';
} elsif (my $bug_tracker = $Module::CoreList::bug_tracker{$entry}) {
paraprint <<"EOF";
$entry included with core Perl is copied directly from the CPAN distribution.
Please report bugs in $entry directly to its maintainers using $bug_tracker
EOF
$entry = '';
} elsif ($entry) {
$category ||= 'library';
Expand Down

0 comments on commit 0accdd4

Please sign in to comment.