NAME

MojoX::CustomTemplateFileParser - Parses a custom Mojo template file format (deprecated)

Requires Perl 5.14+ Travis status

VERSION

Version 0.1002, released 2015-11-26.

SYNOPSIS

use MojoX::CustomTemplateFileParser;

my $parser = MojoX::CustomTemplateFileParser->new(path => '/path/to/file.mojo', output => [qw/Html Pod Test]);

print $parser->to_html;
print $parser->to_pod;
print $parser->to_test;

STATUS

Deprecated. Replaced by Stenciller.

DESCRIPTION

MojoX::CustomTemplateFileParser parses files containing Mojo::Templates mixed with the expected rendering.

The parsing creates a data structure that can be output in various formats using plugins.

Its purpose is to facilitate development of tag helpers.

Options

path

The path to the file that should be parsed. Parsing occurs at object creation.

output

An array reference to plugins in the ::Plugin::To namespace.

Methods

No public methods. See plugins for output options.

PLUGINS

Currently available plugins:

SEE ALSO

SOURCE

https://github.com/Csson/p5-mojox-customtemplatefileparser

HOMEPAGE

https://metacpan.org/release/MojoX-CustomTemplateFileParser

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Erik Carlsson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.