As you develop and debug your own code, it's possible that you'll run into a bug in Perl itself - if you do, the best way to report it is with the perlbug program. perlbug is a Perl program designed to automate the process of reporting bugs in the Perl standard distribution and the standard modules. It works interactively, prompting you for the information needed and generating an email message addressed to firstname.lastname@example.org. (If the bug you found is in one of the non-standard Perl ports, see the documentation for that port to find out how to report bugs.) When you run perlbug, it prompts you to include all relevant information, making it easier for the Perl developers to reproduce and track down the bug. If you come up with a patch to resolve the problem, include that too.
Don't use perlbug as a way to get help debugging your code (see the list of newsgroups and other resources in Chapter 1, Introduction to Perl, for that), but if you believe you've found a bug in Perl itself, perlbug is the way to report it.
To run perlbug, simply enter the command, with any options you want to include. For example:
The possible options are:% perlbug -t
Email address to send report to. Default is email@example.com.
Reports successful build on this system to Perl porters. Forces -S and -C; forces and supplies values for -s and -b. Use with -v to get more complete data. Only reports if this system is less than 60 days old.
Test mode. Target address defaults to firstname.lastname@example.org.