Bill Moseley wrote: [SNIP]
my $stash = $context->localise($params);Ah, I saw that and thought it was passing the parameters to localize and to save in the stash. localize() is created at run time? [EMAIL PROTECTED]:~/Template2$ fgrep -r 'localize' lib lib/Template/Context.pm:# can handle INCLUDE calls: the stash will be localized. lib/Template/Context.pm: my ($self, $template, $params, $localize) = @_; lib/Template/Context.pm: $localize ? '<localized>' : '<unlocalized>', ')') lib/Template/Context.pm: if ($localize) { lib/Template/Context.pm: unless ($localize) { lib/Template/Context.pm: if ($localize) { lib/Template/Context.pm: return $self->process($template, $params, 'localize me!');
The routine is spelled localise. ;) (Notice s instead of z.) -- Josh _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
