Marc - Sebastian Lucksch > Dotiac-0.8 > Dotiac::DTL::Comment

Download:
dotiac/Dotiac-0.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.8   Source   Latest Release: Dotiac-0.8_1

NAME ^

Dotiac::DTL::Comment - Stores a Django template comment tag.

SYNOPSIS ^

Template file

        Some text.... 
        {# A comment, #}
        Some other Text.{# Another comment
        over multiple lines #} Some more text.

DESCRIPTION ^

Everything between the starting {# and the next #} is skipped while generating the output of the template.

During Template compiling it is converted to normal perl comment tags:

        Template code...
        {# Some comment
        more comment #}
        Template code..

Will be converted to:

        Perl code...
        # Some comment
        # more comment
        Perl code...

The module itself has no real use, it's just used by the Dotiac::DTL parser to store those comments.

SEE ALSO ^

http://www.djangoproject.com, Dotiac::DTL

BUGS ^

If you find a bug, please report it.

LEGAL ^

Dotiac::DTL was built according to http://docs.djangoproject.com/en/dev/ref/templates/builtins/.

AUTHOR ^

Marc-Sebastian Lucksch

perl@marc-s.de

syntax highlighting: