At 15:06 -0400 2001.09.20, Jeff Boes wrote:
>Is there a restriction on using template variables with leading
>underscores? I haven't found anything to this effect in the
>documentation, but it appears that
>
>$vars{_foo} = 'bar';
>
>...
>
>[% _foo %]
>
>doesn't work as expected.
Oddly enough, this was noted in my patch of today.
/* ignore _private or .private members */
- if (!root || !item_len || *item == '_' || *item == '.') {
+ if (!root || *item == '_' || *item == '.') {
return &PL_sv_undef;
}