in reply to Persistant variables in TT2

In addition to the other answers I've seen so far in this thread, consider also the use of Template::Plugin::DBM::Deep, which will give you read/write access to arbitrary persistent data structures.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.