CGI-Builder-TT2

 view release on metacpan or  search on metacpan

lib/CGI/Builder/TT2.pm  view on Meta::CPAN

    {
        my $self = shift;
    
        $self->tt_vars( environment => \%ENV );
    }

Here's the template:

    <html>
    <head>
        <meta http-equiv=content-type content="text/html;charset=iso-8859-1">
        <title>A random example :)</title>
    </head>
    <body>
        <table>
        [% FOREACH k IN environment.keys %]
        <tr>
            <td>[% k %]</td>
            <td>[% environment.$k %]</td>
        </tr>
        [% END %]



( run in 1.803 second using v1.01-cache-2.11-cpan-524268b4103 )