The stupid question is the question not asked | |
PerlMonks |
Re: Template::Toolkit - accessing hashes when keys starts with underscore?by olus (Curate) |
on May 14, 2008 at 14:18 UTC ( [id://686526]=note: print w/replies, xml ) | Need Help?? |
The docs say: Any key in a hash which starts with a '_' or '.' character will be considered private and cannot be evaluated or updated from within a template. update: but You can disable this feature by setting the $Template::Stash::PRIVATE package variable to a false value. $Template::Stash::PRIVATE = undef; # now you can thing._private
In Section
Seekers of Perl Wisdom
|
|