Template::TT3::Type::Undef
is a specialised subclass of
Template::TT3::Type
used in conjunction with
Template::TT3::Variable::Undef
for representing the undefined value,
undef
.
It inherits everything from the Template::TT3::Type base class, including methods like defined() and undefined() which can be used as virtual methods to test if a value is defined or not.
[% if foo.defined %] ... [% end %]
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.