in reply to Memory allocation

Text::Template is pretty handy to use in these instances you can use Perl logic within the template to add or include other files, so instead of a hash with all these settings you use a template file or a combination of templates and a hash.

g_White