{
    "mode": "perldoc",
    "parameter": "Template::Plugin::Dumper",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Template%3A%3APlugin%3A%3ADumper/json",
    "generated": "2026-06-17T19:37:44Z",
    "synopsis": "[% USE Dumper %]\n[% Dumper.dump(variable) %]\n[% Dumper.dumphtml(variable) %]",
    "sections": {
        "NAME": {
            "content": "Template::Plugin::Dumper - Plugin interface to Data::Dumper\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "[% USE Dumper %]\n\n[% Dumper.dump(variable) %]\n[% Dumper.dumphtml(variable) %]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is a very simple Template Toolkit Plugin Interface to the Data::Dumper module. A \"Dumper\"\nobject will be instantiated via the following directive:\n\n[% USE Dumper %]\n\nAs a standard plugin, you can also specify its name in lower case:\n\n[% USE dumper %]\n\nThe \"Data::Dumper\" \"Pad\", \"Indent\" and \"Varname\" options are supported as constructor arguments\nto affect the output generated. See Data::Dumper for further details.\n\n[% USE dumper(Indent=0, Pad=\"<br>\") %]\n\nThese options can also be specified in lower case.\n\n[% USE dumper(indent=0, pad=\"<br>\") %]\n",
            "subsections": []
        },
        "METHODS": {
            "content": "There are two methods supported by the \"Dumper\" object. Each will output into the template the\ncontents of the variables passed to the object method.\n\ndump()\nGenerates a raw text dump of the data structure(s) passed\n\n[% USE Dumper %]\n[% Dumper.dump(myvar) %]\n[% Dumper.dump(myvar, yourvar) %]\n\ndumphtml()\nGenerates a dump of the data structures, as per dump(), but with the characters <, > and &\nconverted to their equivalent HTML entities and newlines converted to <br>.\n\n[% USE Dumper %]\n[% Dumper.dumphtml(myvar) %]\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Simon Matthews <sam@tt2.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2000 Simon Matthews. All Rights Reserved.\n\nThis module is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Template::Plugin, Data::Dumper\n",
            "subsections": []
        }
    },
    "summary": "Template::Plugin::Dumper - Plugin interface to Data::Dumper",
    "flags": [],
    "examples": [],
    "see_also": []
}