Marcus Ramberg > MojoMojo-0.999029 > MojoMojo::Formatter::Include

Download:
MojoMojo-0.999029.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: MojoMojo-0.999041

NAME ^

MojoMojo::Formatter::Include - Include files in your content.

DESCRIPTION ^

Include files verbatim in your content, by writing {{<url>}}.

METHODS ^

format_content_order

Format order can be 1-99. The Include formatter runs on 6

format_content

calls the formatter. Takes a ref to the content as well as the context object.

include <c> <url>

returns the content of url. Will store a cached version in $c->cache

SEE ALSO ^

MojoMojo,Module::Pluggable::Ordered,URI::Fetch

AUTHORS ^

Marcus Ramberg <mramberg@cpan.org>

License ^

This module is licensed under the same terms as Perl itself.