persistent database connection - Apache::DBI with mod_perl

2008-07-15 Thread Chris Zhuang
Hi,   I have problems to setup persistent database connection for my perl project using mod_perl.   It tooks me two days which i still cann't figure out how mod_perl works with Apache::DBI.   My Server Settings: ActiveState Perl 5.8.8 build 822 Apache HTTP Server 2.2.9 Apache DBI 1.06 mod_perl 2.

Re: whence $r->send_http_header ?

2008-07-15 Thread Jie Gao
* John M. Dlugosz <[EMAIL PROTECTED]> wrote: > Consider this fragment: > > $r->content_type("image/$type"); > $r->send_http_header; > > $m->print($img); > > The method send_http_header seems to no longer exist. What should I be using > instead? For now I just commented it out. # perl -MM

whence $r->send_http_header ?

2008-07-15 Thread John M. Dlugosz
Consider this fragment: $r->content_type("image/$type"); $r->send_http_header; $m->print($img); The method send_http_header seems to no longer exist. What should I be using instead? For now I just commented it out.