RE: IO::File problem on Mod_perl

2004-06-22 Thread Huilli Liu
Thanks Tom. It works now. I forgot "/" between r->document_root() and "templates/quickquote.templ". Great help! Willy -Original Message- From: Huilli Liu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 10:40 AM To: Tom Schindl Cc: [EMAIL PROTECTED

RE: IO::File problem on Mod_perl

2004-06-17 Thread Huilli Liu
mplate_file->close; print $template; return Apache::OK; } 1; In conf/perl.conf SetHandler perl-script PerlResponseHandler MyApache::template_test Regards, Willy -Original Message- From: Tom Schindl [mailto:[EMAIL PROTECTED] Sent: Thursday, J

IO::File problem on Mod_perl

2004-06-16 Thread Huilli Liu
Hi All,   Recently I are migrating cgi to mod_perl but it is running out of the problem for IO::File. Here are my original codes:    my $template_file = new IO::File("templates/quickquote.templ"); $template_file->input_record_separator(undef); my $template = <$template_file>; $template_f