<?php
define("ABS_PATH", $_SERVER['DOCUMENT_ROOT']);
include(ABS_PATH . "/head_nav.php");
include(ABS_PATH . "/middle.php");
?>
          <div class="section">
            <div class="toc-wrapper">
              <span class="toc-title">Contents:</span>
              <ul class="toc">
                  <li class=""><a href="#SYNOPSIS">SYNOPSIS</a></li>
                  <li class=""><a href="#DESCRIPTION">DESCRIPTION</a></li>
                  <li class=""><a href="#METHODS">METHODS</a></li>
                  <li class="sub"><a href="#method_dump">dump()</a></li>
                  <li class="sub"><a href="#method_dump_html">dump_html()</a></li>
                  <li class=""><a href="#AUTHOR">AUTHOR</a></li>
                  <li class=""><a href="#COPYRIGHT">COPYRIGHT</a></li>
                  <li class=""><a href="#SEE_ALSO">SEE ALSO</a></li>
              </ul>
            </div>
          </div>
          
                <div class="pod">
            <div class="section">
              <div class="head">
                <h1 id="SYNOPSIS">SYNOPSIS</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <pre><span class="tt">[% USE Dumper %]</span>

<span class="tt">[% Dumper.dump(variable) %]</span>
<span class="tt">[% Dumper.dump_html(variable) %]</span></pre>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="DESCRIPTION">DESCRIPTION</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      This is a very simple Template Toolkit Plugin Interface to the <a
                      href="https://metacpan.org/search?query=Data::Dumper&mode=all">Data::Dumper</a> module. A
                      <code>Dumper</code> object will be instantiated via the following
                      directive:
                    </p>
                    <pre><span class="tt">[% USE Dumper %]</span></pre>
                    <p>
                      As a standard plugin, you can also specify its name in lower case:
                    </p>
                    <pre><span class="tt">[% USE dumper %]</span></pre>
                    <p>
                      The <code>Data::Dumper</code> <code>Pad</code>, <code>Indent</code> and
                      <code>Varname</code> options are supported as constructor arguments to
                      affect the output generated. See <a href="https://metacpan.org/search?query=Data::Dumper&mode=all">Data::Dumper</a> for further details.
                    </p>
                    <pre><span class="tt">[% USE dumper(Indent=0, Pad="&lt;br&gt;") %]</span></pre>
                    <p>
                      These options can also be specified in lower case.
                    </p>
                    <pre><span class="tt">[% USE dumper(indent=0, pad="&lt;br&gt;") %]</span></pre>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="METHODS">METHODS</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      There are two methods supported by the <code>Dumper</code> object. Each
                      will output into the template the contents of the variables passed to the
                      object method.
                    </p>
                    <div class="subsection">
                  <div class="head">
                    <h2 id="method_dump" class="method" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">dump()</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Generates a raw text dump of the data structure(s) passed
                        </p>
                        <pre><span class="tt">[% USE Dumper %]</span>
<span class="tt">[% Dumper.dump(myvar) %]</span>
<span class="tt">[% Dumper.dump(myvar, yourvar) %]</span></pre>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="method_dump_html" class="method" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">dump_html()</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          Generates a dump of the data structures, as per <a
                          href="#method_dump">dump()</a>, but with the characters &lt;, &gt; and
                          &amp; converted to their equivalent HTML entities and newlines converted
                          to &lt;br&gt;.
                        </p>
                        <pre><span class="tt">[% USE Dumper %]</span>
<span class="tt">[% Dumper.dump_html(myvar) %]</span></pre>
                  </div>
                </div>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="AUTHOR">AUTHOR</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      Simon Matthews &lt;sam@tt2.org&gt;
                    </p>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="COPYRIGHT">COPYRIGHT</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      Copyright (C) 2000 Simon Matthews. All Rights Reserved.
                    </p>
                    <p>
                      This module is free software; you can redistribute it and/or modify it
                      under the same terms as Perl itself.
                    </p>
              </div>
            </div>
            <div class="section">
              <div class="head">
                <h1 id="SEE_ALSO">SEE ALSO</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      <a href="../../../modules/Template/Plugin.php">Template::Plugin</a>, <a
                      href="https://metacpan.org/search?query=Data::Dumper&mode=all">Data::Dumper</a>
                    </p>
              </div>
            </div>
            
            </div>
<?php include(ABS_PATH . "/footer.php"); ?>
