in reply to Using DateTime together with Template::Toolkit
If you were using the XS Stash, I don't think this would be a problem.
If you really have a reason to use the non-XS stash, you can patch TT. The fix is to change the code that creates the $atroot variable in the _dotop method. It is described in this post to the TT mailing list. There is similar code in _assign that could probably stand to be patched as well.
Note: The change in question adds a dependency on the Scalar::Util module, which should work on whatever version of Perl you can run TT on.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using DateTime together with Template::Toolkit
by Corion (Patriarch) on Mar 01, 2005 at 07:27 UTC | |
by mdillon (Priest) on Mar 01, 2005 at 15:55 UTC | |
by dragonchild (Archbishop) on Mar 01, 2005 at 13:57 UTC |
In Section
Seekers of Perl Wisdom