Click here to get back home

modperl: HTML::Template not working inside handler

 HomeNewsGroups | Search

get this group's latest topics as an RSS feed  comp.lang.perl.misc - PERL programming language

please rate
this thread
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by gmail on February 25, 2008, 2:33 pm
 Hello everyone,

I'm working on coding up a mod_perl handler, but am unable to get
HTML::Template to output. Below is my current code:

# file:MyHandler.pm
#------------------------------------------------------------------
package MyHandler;

#Load some helpful functions
use strict;         #strict tolerance for code
use warnings;       #extra warnings in the log
use Carp;           #verbose logging
use diagnostics;    #more verbose logging

#Loadup some functions for later use
use HTML::Template;

#Loadup functions involved in being a handler
use Apache2::RequestRec ();
use Apache2::RequestIO ();
use Apache2::Request;


#------------------------------------------------------------------
#
# Subroutines
#

sub handler {
    my $hdlr = shift;





}
1;




Posted by Ben Morrow on February 25, 2008, 6:01 pm

Quoth gmail@indigorobot.com:


HTML::Template is writing to STDOUT. You need to tell it to write to the
handler; possibly



?

Ben



Subject Author Date
modperl: HTML::Template not working inside handler gmail 02-25-2008
If you were  Registered and logged in, you could reply and use other advanced thread options
  • Subject
  • Date

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

1-Script XML SitemapXML Sitemap
Privacy Policy