My current configuration (and one I like a lot) is where I have a basic
wrapper, loaded with the WRAPPER config param, and inside, of each other
tt, the content of a container div is pulled. I want to optionally
establish css/js files from the container div, ( or from the invocation
args ), so what I'm looking for is the functionality of a META array.

I would like to do something like this:

[% META css = [qw/navbar.css horizontal.css main.css/ ] %]

And, then when the wrapper pulls it in, loop over css and and puts those
tags in the header, of the wrapper template. Auctualy, If I could be
greedy, I would like subwrappers to be able to append to that list, so
the navbar.tt, can pull its own style! But, I don't want to push my
luck.

Either way, META variables can't hold arrays so whats a good solution to
accomplish this? 

Thanks in advance,

Evan Carroll
www.evancarroll.com






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

Reply via email to