Changes for version 1.012
- Allow scalar refs passed as variables to be processed
- Allow ADD_LOCAL_PATH to function in more areas (including INSERT)
- Don't let ADD_LOCAL_PATH modify INCLUDE_PATHS
- Let ADD_LOCAL_PATH be modified at runtime
- Stream cleanup
- Added CALL_CONTEXT configuration item
- Added @() list context specifier
- Added $() item context specifier
- Cleanup some of the pod on vmethods.
- Add the ITEM_METHOD API which is hybrid SCALAR_OPS and filters
- Add the ->() MACRO operator
- Allow map, grep, and sort to use the new operator
- Add return values to RETURN directive
- Add return item, list, and hash vmethods
Modules
TT2/3, HT, HTE, Tmpl, and Velocity Engine
Compile role - allows for compiling the AST to perl code
Provide a TT style context
Handle exceptions
HTML::Template and HTML::Template::Expr roles.
Handle foreach iterations
Operator role.
Common parsing role for creating AST from templates
Play role - allows for playing out the AST
Stream role - allows for playing out the AST and printing straight to file handle
Template::Toolkit role
Text::Tmpl role
VMethod role.
Velocity (VTL) role
Provides
in lib/Template/Alloy/Play.pm
in lib/Template/Alloy/Play.pm
in lib/Template/Alloy/Context.pm
Examples
- samples/benchmark/bench_method_calling.pl
- samples/benchmark/bench_operator_storage.pl
- samples/benchmark/bench_optree.pl
- samples/benchmark/bench_template.pl
- samples/benchmark/bench_template_tag_parser.pl
- samples/benchmark/bench_various_templaters.pl
- samples/dprof_template.d
- samples/memory_template.pl