I am having some problems with hash keys that start with '_' being
treated as private variables and getting nothing back when trying to
access the associated value. I have a web interface that uses hashes
to contain various user input which can (and often does) have keys
starting with '_'.

I've read the relevant bits in the badger book but I cannot find any
comments on a workaround. I have never needed this "private variable"
functionality so I am quite happy to turn it off completely (with a
patch to the source, if necessary). Anyone have suggestions as to what
I can do? I really do not want to have to avoid all usage of hashes in
my code (it would mean a lot of rewriting).

Thanks in advance,

Stephen Quinney







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

Reply via email to