in reply to Creating huge files with the Template Toolkit
The object-oriented nature of TT suggests a possible strategy:
- Identify the method that is handling the strings in the way you want to avoid.
- Create your own class that inherits from the TT class.
- In your own class, override the offending method to give you control over I/O buffering - perhaps also using additional classes such as IO::File and IO::String
Hope this helps.
-Simon
One world, one people
In Section
Seekers of Perl Wisdom