I hope this isn't a stupid question, I couldn't find it in the docs.
I'm doing this kind of thing where the 'months' is [ qw( Jan ".." Dec )
] but for some cases I'd like to have an empty slot in the months.0.
Using:
[% CGI.popup_menu(name => 'month',
values => months,
default => this_month,
) %]
Would like the equivalent of:
[% CGI.popup_menu(name => 'month',
values => [ '', months.FLATTENED ],
default => this_month,
) %]
I am reusing the 'months' here and there so I don't want to alter it
directly. Ideas?
Thank you!
-Ashley
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates