On Fri, 10 Nov 2006, Robert Hicks wrote:
I think that is a pretty cool idea and was wondering if anyone likes that as
well. Is there a plugin for it or anything (outside of CAF)?
Seems a little silly to use a plugin for:
$template->param(foo_mode => $self->foo);
And:
<tmpl_var foo_mode>
If you wanted to get really fancy and support any mode:
my %run_modes = $self->run_modes();
$template->param("${_}_mode" => $self->$_) for
grep { $template->query(name => "${_}_mode") } keys %run_modes;
-sam
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]