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

Re: IO::File problem on Mod_perl

2004-06-17 Thread Tom Schindl
Huilli Liu wrote: 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: Try it like this: -8<- use Apache::RequestUtil (); $template_file = new IO::File($r->document_root()."templ

RE: IO::File problem on Mod_perl

2004-06-17 Thread Huilli Liu
une 17, 2004 2:35 AM To: Huilli Liu Cc: [EMAIL PROTECTED] Subject: Re: IO::File problem on Mod_perl Huilli Liu wrote: > 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: > Try it like this:

Re: IO::File problem on Mod_perl

2004-06-19 Thread Stas Bekman
Huilli Liu wrote: Thanks Tom. I made a simple case for this issue but as a result of the test, it still doesn't work. So I think it may something to do Mod_perl and IO::File. I am running: Apache/2.0.46 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2 mod_ssl/2.0.46 OpenSSL/0.9.7b Server at mydom

RE: IO::File problem on Mod_perl

2004-06-22 Thread Huilli Liu
IL PROTECTED] Sent: Thursday, June 17, 2004 2:35 AM To: Huilli Liu Cc: [EMAIL PROTECTED] Subject: Re: IO::File problem on Mod_perl Huilli Liu wrote: > 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 c