in reply to HTML::Template-2 on one
I have to say I don't understand why you would think it wasn't possible.
I mean, here's the simplest possible example:
And the perl would basically go:<html><head></head><body> <tmpl_var name="stufffromtableone"> <tmpl_var name="stufffromtabletwo"> </body></html>
$x = getstufffromtableone(); $y = getstufffromtabletwo(); $template->param( stufffromtableone => $x ); $template->param( stufffromtabletwo => $y );
So, if you know how to do that, the problem must be with some kind of data structure, loop etc.
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML::Template-2 on one
by kappa (Chaplain) on Nov 21, 2004 at 10:15 UTC | |
by edan (Curate) on Nov 21, 2004 at 10:39 UTC | |
by kappa (Chaplain) on Nov 21, 2004 at 10:54 UTC | |
by edan (Curate) on Nov 21, 2004 at 11:30 UTC | |
by kappa (Chaplain) on Nov 21, 2004 at 11:53 UTC | |
|