Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Thursday September 06, 2007
10:34 AM

emergancy embperl with text::template

[ #34363 ]

So I agree to do a quick cgi script for somebody, after agreeing I discover that it's shared hosting on a windows box, with perl, but no way to install modules or do anything remotely useful.

Text::Template to the rescue! I could just embed the HTML directly into the script, but - yuck!

With a couple of very small modifications, I copy text::template inline at the end of the script, and hey presto : run anywhere embperl/templating.

HTML::Template would be well suited to this project, but this will do at a push.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.