{
    "mode": "man",
    "parameter": "perlbug",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/perlbug/1/json",
    "generated": "2026-08-22T01:33:10Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "perlbug - how to submit bug reports on Perl\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "perlbug",
                    "content": "perlbug [ -v ] [ -a address ] [ -s subject ] [ -b body | -f inputfile ] [ -F outputfile ]\n[ -r returnaddress ] [ -e editor ] [ -c adminaddress | -C ] [ -S ] [ -t ]  [ -d ]  [ -h ]\n[ -T ]\n\nperlbug [ -v ] [ -r returnaddress ]\n[ -ok | -okay | -nok | -nokay ]\n"
                },
                {
                    "name": "perlthanks",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "This program is designed to help you generate bug reports (and thank-you notes) about perl5\nand the modules which ship with it.\n\nIn most cases, you can just run it interactively from a command line without any special\narguments and follow the prompts.\n\nIf you have found a bug with a non-standard port (one that was not part of the standard\ndistribution), a binary distribution, or a non-core module (such as Tk, DBI, etc), then\nplease see the documentation that came with that distribution to determine the correct place\nto report bugs.\n\nBug reports should be submitted to the GitHub issue tracker at\n<https://github.com/Perl/perl5/issues>. The perlbug@perl.org address no longer automatically\nopens tickets. You can use this tool to compose your report and save it to a file which you\ncan then submit to the issue tracker.\n\nIn extreme cases, perlbug may not work well enough on your system to guide you through\ncomposing a bug report. In those cases, you may be able to use perlbug -d or perl -V to get\nsystem configuration information to include in your issue report.\n\nWhen reporting a bug, please run through this checklist:\n\nWhat version of Perl you are running?\nType \"perl -v\" at the command line to find out.\n\nAre you running the latest released version of perl?\nLook  at  <http://www.perl.org/>  to  find out.  If you are not using the latest released\nversion, please try to replicate your bug on the latest stable release.\n\nNote that reports about bugs in old versions of Perl, especially those which indicate you\nhaven't also tested the current stable release  of  Perl,  are  likely  to  receive  less\nattention  from the volunteers who build and maintain Perl than reports about bugs in the\ncurrent release.\n\nAre you sure what you have is a bug?\nA significant number of the bug reports we get turn out  to  be  documented  features  in\nPerl.   Make  sure  the  issue  you've run into isn't intentional by glancing through the\ndocumentation that comes with the Perl distribution.\n\nGiven the sheer volume of Perl documentation, this isn't a trivial  undertaking,  but  if\nyou  can  point to documentation that suggests the behaviour you're seeing is wrong, your\nissue is likely to receive more attention. You may want to start  with  perldoc  perltrap\nfor pointers to common traps that new (and experienced) Perl programmers run into.\n\nIf  you're  unsure of the meaning of an error message you've run across, perldoc perldiag\nfor an explanation.  If the message isn't in perldiag, it  probably  isn't  generated  by\nPerl.  You may have luck consulting your operating system documentation instead.\n\nIf you are on a non-UNIX platform perldoc perlport, as some features may be unimplemented\nor work differently.\n\nYou  may  be  able  to  figure  out  what's  going  wrong  using  the Perl debugger.  For\ninformation about how to use the debugger perldoc perldebug.\n\nDo you have a proper test case?\nThe easier it is to reproduce your bug, the more likely it will be fixed -- if nobody can\nduplicate your problem, it probably won't be addressed.\n\nA good test case has most of these attributes: short, simple code;  few  dependencies  on\nexternal  commands,  modules,  or  libraries;  no  platform-dependent code (unless it's a\nplatform-specific bug); clear, simple documentation.\n\nA good test case is almost always a good candidate to be included in Perl's  test  suite.\nIf  you  have the time, consider writing your test case so that it can be easily included\ninto the standard test suite.\n\nHave you included all relevant information?\nBe sure to include the exact error messages, if any.  \"Perl gave  an  error\"  is  not  an\nexact error message.\n\nIf you get a core dump (or equivalent), you may use a debugger (dbx, gdb, etc) to produce\na stack trace to include in the bug report.\n\nNOTE:  unless  your Perl has been compiled with debug info (often -g), the stack trace is\nlikely to be somewhat hard to use because it will most probably contain only the function\nnames and not their arguments.  If possible, recompile your  Perl  with  debug  info  and\nreproduce the crash and the stack trace.\n\nCan you describe the bug in plain English?\nThe easier it is to understand a reproducible bug, the more likely it will be fixed.  Any\ninsight  you can provide into the problem will help a great deal.  In other words, try to\nanalyze the problem (to the extent you can) and report your discoveries.\n\nCan you fix the bug yourself?\nIf so, that's great news; bug reports with patches are likely  to  receive  significantly\nmore attention and interest than those without patches.  Please submit your patch via the\nGitHub Pull Request workflow as described in perldoc perlhack.  You may also send patches\nto  perl5-porters@perl.org.   When sending a patch, create it using \"git format-patch\" if\npossible, though a unified diff created with \"diff -pu\" will do nearly as well.\n\nYour patch may be returned with requests for  changes,  or  requests  for  more  detailed\nexplanations about your fix.\n\nHere are a few hints for creating high-quality patches:\n\nMake sure the patch is not reversed (the first argument to diff is typically the original\nfile,  the second argument your changed file).  Make sure you test your patch by applying\nit with \"git am\" or the \"patch\" program before you send it on its way.  Try to follow the\nsame style as the code you are trying to patch.  Make sure your patch  really  does  work\n(\"make test\", if the thing you're patching is covered by Perl's test suite).\n\nCan you use \"perlbug\" to submit a thank-you note?\nYes,  you  can  do  this  by  either using the \"-T\" option, or by invoking the program as\n\"perlthanks\". Thank-you notes are good. It makes people smile.\n\nPlease make your issue title informative.  \"a bug\" is  not  informative.   Neither  is  \"perl\ncrashes\" nor is \"HELP!!!\".  These don't help.  A compact description of what's wrong is fine.\n\nHaving  done  your  bit,  please  be prepared to wait, to be told the bug is in your code, or\npossibly to get no reply at all.  The volunteers who maintain Perl are busy folks, so if your\nproblem is an obvious bug in your own code, is difficult to understand or is a  duplicate  of\nan existing report, you may not receive a personal reply.\n\nIf  it  is important to you that your bug be fixed, do monitor the issue tracker (you will be\nsubscribed to notifications for issues you submit or comment  on)  and  the  commit  logs  to\ndevelopment  versions  of  Perl,  and  encourage the maintainers with kind words or offers of\nfrosty beverages.  (Please do be kind to the  maintainers.   Harassing  or  flaming  them  is\nlikely to have the opposite effect of the one you want.)\n\nFeel  free to update the ticket about your bug on <https://github.com/Perl/perl5/issues> if a\nnew version of Perl is released and your bug is still present.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-a",
                    "content": "",
                    "flag": "-a"
                },
                {
                    "name": "-b       -f",
                    "content": "will get a chance to edit the report.\n",
                    "flag": "-f"
                },
                {
                    "name": "-C",
                    "content": "",
                    "flag": "-C"
                },
                {
                    "name": "-c",
                    "content": "address of the local perl administrator (recorded when perl was built).\n",
                    "flag": "-c"
                },
                {
                    "name": "-d",
                    "content": "configuration  data, without saving or mailing anything.  You can use this with -v to\nget more complete data.\n",
                    "flag": "-d"
                },
                {
                    "name": "-e",
                    "content": "",
                    "flag": "-e"
                },
                {
                    "name": "-f",
                    "content": "",
                    "flag": "-f"
                },
                {
                    "name": "-F",
                    "content": "",
                    "flag": "-F"
                },
                {
                    "name": "-h",
                    "content": "",
                    "flag": "-h"
                },
                {
                    "name": "-ok      -S  -C",
                    "content": "supplies  values  for -s and -b. Only prompts for a return address if it cannot guess\nit (for use with make). Honors return address specified with -r.  You  can  use  this\nwith  -v to get more complete data.   Only makes a report if this system is less than\n60 days old.\n",
                    "flag": "-C"
                },
                {
                    "name": "-okay    -ok",
                    "content": ""
                },
                {
                    "name": "-nok     -C",
                    "content": "for -s, then requires you to edit the report and say what went wrong.  Alternatively,\na  prepared report may be supplied using -f.  Only prompts for a return address if it\ncannot guess it (for use with make). Honors return address specified  with  -r.   You\ncan  use  this with -v to get more complete data.  Only makes a report if this system\nis less than 60 days old.\n",
                    "flag": "-C"
                },
                {
                    "name": "-nokay   -nok",
                    "content": ""
                },
                {
                    "name": "-p",
                    "content": "the report.  Multiple files must be separated with commas.\n",
                    "flag": "-p"
                },
                {
                    "name": "-r",
                    "content": "use this option.\n",
                    "flag": "-r"
                },
                {
                    "name": "-S",
                    "content": "",
                    "flag": "-S"
                },
                {
                    "name": "-s",
                    "content": "the command line.\n",
                    "flag": "-s"
                },
                {
                    "name": "-t",
                    "content": "purposes.\n",
                    "flag": "-t"
                },
                {
                    "name": "-T",
                    "content": "",
                    "flag": "-T"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                }
            ]
        },
        "AUTHORS": {
            "content": "Kenneth  Albanowski  (<kjahds@kjahds.com>),  subsequently  doctored   by   Gurusamy   Sarathy\n(<gsar@activestate.com>),    Tom   Christiansen   (<tchrist@perl.com>),   Nathan   Torkington\n(<gnat@frii.com>), Charles F. Randall (<cfr@pobox.com>), Mike Guy (<mjtg@cam.ac.uk>), Dominic\nDunlop  (<domo@computer.org>),  Hugo  van  der  Sanden  (<hv@crypt.org>),  Jarkko  Hietaniemi\n(<jhi@iki.fi>), Chris Nandor (<pudge@pobox.com>), Jon Orwant (<orwant@media.mit.edu>, Richard\nFoley  (<richard.foley@rfi.net>),  Jesse  Vincent  (<jesse@bestpractical.com>),  and Craig A.\nBerry (<craigberry@mac.com>).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "perl(1), perldebug(1), perldiag(1),  perlport(1),  perltrap(1),  diff(1),  patch(1),  dbx(1),\ngdb(1)\n",
            "subsections": []
        },
        "BUGS": {
            "content": "None known (guess what must have been used to report them?)\n\nperl v5.38.2                                 2026-06-12                                   PERLBUG(1)",
            "subsections": []
        }
    },
    "summary": "perlbug - how to submit bug reports on Perl",
    "flags": [
        {
            "flag": "-a",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": "will get a chance to edit the report."
        },
        {
            "flag": "-C",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "address of the local perl administrator (recorded when perl was built)."
        },
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": "configuration data, without saving or mailing anything. You can use this with -v to get more complete data."
        },
        {
            "flag": "-e",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-F",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-C",
            "long": null,
            "arg": null,
            "description": "supplies values for -s and -b. Only prompts for a return address if it cannot guess it (for use with make). Honors return address specified with -r. You can use this with -v to get more complete data. Only makes a report if this system is less than 60 days old."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-C",
            "long": null,
            "arg": null,
            "description": "for -s, then requires you to edit the report and say what went wrong. Alternatively, a prepared report may be supplied using -f. Only prompts for a return address if it cannot guess it (for use with make). Honors return address specified with -r. You can use this with -v to get more complete data. Only makes a report if this system is less than 60 days old."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "the report. Multiple files must be separated with commas."
        },
        {
            "flag": "-r",
            "long": null,
            "arg": null,
            "description": "use this option."
        },
        {
            "flag": "-S",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": "the command line."
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": "purposes."
        },
        {
            "flag": "-T",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "perl",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/perl/1/json"
        },
        {
            "name": "perldebug",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/perldebug/1/json"
        },
        {
            "name": "perldiag",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/perldiag/1/json"
        },
        {
            "name": "perlport",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/perlport/1/json"
        },
        {
            "name": "perltrap",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/perltrap/1/json"
        },
        {
            "name": "diff",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/diff/1/json"
        },
        {
            "name": "patch",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/patch/1/json"
        },
        {
            "name": "dbx",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dbx/1/json"
        },
        {
            "name": "gdb",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/gdb/1/json"
        }
    ]
}