This module implements a thin wrapper around Template::TT2
. It provides
a backwards-compatibility wrapper for TT2.
This module implements the following method.
The
Template3
module calls this method to determine the name of the engine
class to instantiate. In the usual case, the load()
method simple returns
its own class name (e.g. Template::TT3::Engine::TT3->load()
returns
Template::TT3::Engine::TT3
. In this case, the Template::TT3::Engine::TT2
module is a wrapper to load the Template::TT3
module (or display a helpful
error message if it's not installed) and then delegate to it. Accordingly,
the load()
method returns the constant value Template::TT2
.
Andy Wardley http://wardley.org
Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.