Goto template->globals and add:
i => sub {
my $tags = shift;
return $tags->{j} + 2;
}
and then put <%i%>. That will run the function and return the output (j + 2).
Cheers,
Alex
--
Gossamer Threads Inc.
i => sub {
my $tags = shift;
return $tags->{j} + 2;
}
and then put <%i%>. That will run the function and return the output (j + 2).
Cheers,
Alex
--
Gossamer Threads Inc.