HTML::Template::Compiled::Parser(3pm)

HTML::Template::Compiled::Parser3pm

Parser module for html::template::compiled

Usage

This module is used internally by HTML::Template::Compiled. The API is not fixed (yet), so this is just for understanding at the moment.

    my $parser = HTML::Template::Compiled::Parser->new(
        tagstyle => [
            # -name deactivates style
            # +name activates style
            qw(-classic -comment +asp +php),
            # define own regexes
            # e.g. for tags like
            # {{if foo}}{{var bar}}{{/if foo}}
            [
            qr({{), start of opening tag
            qr(}}), # end of opening tag
            qr({{/), # start of closing tag
            qr(}}), # end of closing tag
            ],
        ],
    );

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12–13

Author

Tina Mueller

From libhtml-template-compiled-perl 1.003-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.