On Wed, Jul 20, 2005 at 05:33:27AM -0700, John Smith wrote:
>    Maybe I should restate. What is the perl template toolkit directive
>    equivalent of:
> 
>    if (defined $x->{y})
>    -- or --
>    if (exists $x->{y})

See perldoc Template::Manual::VMethods

x.defined('y')
and
x.exists('y')

Hope that helps
-- 
SwiftOne  /  Brett Sanger
[EMAIL PROTECTED]   

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to