---
name: "HTML::Template::Compiled::Parser"
section: "3pm"
platform: "linux"
package: "libhtml-template-compiled-perl"
version: "1.003-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTML::Template::Compiled::Parser"
---

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

Parser module for HTML::Template::Compiled

## NAME

HTML::Template::Compiled::Parser - Parser module for HTML::Template::Compiled

## SYNOPSIS

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
            ],
        ],
    );
```

## AUTHOR

Tina Mueller
