Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Template::ShowStartStop - Display where template's start and stop

branch: build/master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 docs
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 Changes
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 META.json
Octocat-spinner-32 META.yml
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 perlcritic.rc
README
NAME
    Template::ShowStartStop - Display where templates start and stop

VERSION
    version 1.0.1

SYNOPSIS
            use Template::ShowStartStop;

            my $tt = Template->new({
                    CONTEXT => Template::ShowStartStop->new
            });

DESCRIPTION
    Template::ShowStartStop provides inline comments throughout your code
    where each template stops and starts. It's an overridden version of
    Template::Context that wraps the "process()" method.

    Using Template::ShowStartStop is simple. Now when you process templates,
    HTML comments will get embedded in your output, which you can easily
    grep for. The nesting level is also shown.

            <!-- START: process wrapper.tt -->
            <!DOCTYPE html>
            <html>
            <head>
            <!-- START: process head.tt -->
            ...
            <!-- STOP:  process head.tt -->
            </head>
            ...
            </html>
            <!-- STOP:  process wrapper.tt -->

BUGS
    Please report any bugs or feature requests on
    <http://github.com/xenoterracide/Template-ShowStartStop/issues> as I'm
    not fond of RT.

SUBMITTING PATCHES
    Please read the SubmittingPatches file included with this Distribution.
    Patches that are of sufficient quality, within the goals of the project
    and pass the checklist will probably be accepted.

ACKNOWLEDGEMENTS
    Thanks to Andy Lester, Randal Schwartz, Bill Moseley, and to Gavin Estey
    for the original Template::Timer code that this is based on.

AUTHOR
    Caleb Cushing <xenoterracide@gmail.com>

COPYRIGHT AND LICENSE
    This software is Copyright (c) 2011 by Caleb Cushing.

    This is free software, licensed under:

      The Artistic License 2.0 (GPL Compatible)

Something went wrong with that request. Please try again.