Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Browser-viewable HTML::Template templates

by Aristotle (Chancellor)
on Jan 12, 2003 at 14:48 UTC ( [id://226270]=note: print w/replies, xml ) Need Help??


in reply to Re: Browser-viewable HTML::Template templates
in thread Browser-viewable HTML::Template templates

Good suggestion. I think it's easier not to duplicate HTML::Template's parsing if you already have it on hand though:
sub show_template { my $t_file = $q->param('template'); require HTML::Template; my $t = HTML::Template->new_file($t_file); # and don't fill in any values print $q->header(), $t->output; exit(0); }

Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://226270]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-23 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found