Template-Resolver
view release on metacpan or search on metacpan
$java_properties_file = <<'EOF';
# Simple value that will error if not present
server_port = ${TEMPLATE{app.port}}
# Simple value with a default (no error if not present)
context_path = ${TEMPLATE{app.context_path:/myapp}}
# Get an env var
http_proxy = ${TEMPLATE_env{HTTP_PROXY}}
# Translate a cygwin path with error if not present
module_jar = ${TEMPLATE_os{app.module_addon1}}
# Translate a cygwin path with default
module_jar = ${TEMPLATE_os{app.module_addon2:/var/local/lib/mymodule.jar}}
# Escape some xml (with blank default)
html_header = ${TEMPLATE_xml_escape{app.header:}}
lib/Template/Resolver.pm view on Meta::CPAN
$java_properties_file = <<'EOF';
# Simple value that will error if not present
server_port = ${TEMPLATE{app.port}}
# Simple value with a default (no error if not present)
context_path = ${TEMPLATE{app.context_path:/myapp}}
# Get an env var
http_proxy = ${TEMPLATE_env{HTTP_PROXY}}
# Translate a cygwin path with error if not present
module_jar = ${TEMPLATE_os{app.module_addon1}}
# Translate a cygwin path with default
module_jar = ${TEMPLATE_os{app.module_addon2:/var/local/lib/mymodule.jar}}
# Escape some xml (with blank default)
html_header = ${TEMPLATE_xml_escape{app.header:}}
( run in 0.667 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )