NAME

Template::EmbeddedPerl::Utils - Utility functions for Template::EmbeddedPerl

DESCRIPTION

This module provides utility functions for Template::EmbeddedPerl. It is not intended to be used directly.

EXPORTS

normalize_linefeeds

my $normalized = normalize_linefeeds($template);

Normalize the line endings to \n from mac and windows format.

uri_escape

my $escaped = uri_escape($string);

Escape the uri string.

escape_javascript

my $escaped = escape_javascript($javascript);

Escape the javascript string.

generate_error_message

my $error_message = generate_error_message($msg, $template, $source);

Generate an error message.

SEE ALSO

Template::EmbeddedPerl

AUTHOR

See Template::EmbeddedPerl

COPYRIGHT & LICENSE

See Template::EmbeddedPerl