{
    "mode": "perldoc",
    "parameter": "B::Terse",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/B%3A%3ATerse/json",
    "generated": "2026-06-16T10:12:45Z",
    "synopsis": "perl -MO=Terse[,OPTIONS] foo.pl",
    "sections": {
        "NAME": {
            "content": "B::Terse - Walk Perl syntax tree, printing terse info about ops\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "perl -MO=Terse[,OPTIONS] foo.pl\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module prints the contents of the parse tree, but without as much information as CPAN\nmodule B::Debug. For comparison, \"print \"Hello, world.\"\" produced 96 lines of output from\nB::Debug, but only 6 from B::Terse.\n\nThis module is useful for people who are writing their own back end, or who are learning about\nthe Perl internals. It's not useful to the average programmer.\n\nThis version of B::Terse is really just a wrapper that calls B::Concise with the -terse option.\nIt is provided for compatibility with old scripts (and habits) but using B::Concise directly is\nnow recommended instead.\n\nFor compatibility with the old B::Terse, this module also adds a method named \"terse\" to B::OP\nand B::SV objects. The B::SV method is largely compatible with the old one, though authors of\nnew software might be advised to choose a more user-friendly output format. The B::OP \"terse\"\nmethod, however, doesn't work well. Since B::Terse was first written, much more information in\nOPs has migrated to the scratchpad datastructure, but the \"terse\" interface doesn't have any way\nof getting to the correct pad. As a kludge, the new version will always use the pad for the main\nprogram, but for OPs in subroutines this will give the wrong answer or crash.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "The original version of B::Terse was written by Malcolm Beattie, <mbeattie@sable.ox.ac.uk>. This\nwrapper was written by Stephen McCamant, <smcc@MIT.EDU>.\n",
            "subsections": []
        }
    },
    "summary": "B::Terse - Walk Perl syntax tree, printing terse info about ops",
    "flags": [],
    "examples": [],
    "see_also": []
}