gaja has asked for the wisdom of the Perl Monks concerning the following question:
It working properly when its call direct. But i have added a filters in httpd.conf file likeuse strict; use warnings; my $r = shift; $r->content_type('text/plain'); print("Now is: " . scalar(localtime) . "\n");
When i have added a filer then shows a error as Can't locate object method "content_type" via package "Apache2::Filter" Please anyone give the solution for it. Thanks in advance..SetHandler modeperl PerlResponseHandler Apache2::AddFilterDyn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't locate object method "content_type"
by Corion (Patriarch) on May 02, 2014 at 07:08 UTC | |
by gaja (Initiate) on May 02, 2014 at 07:41 UTC | |
by Anonymous Monk on May 02, 2014 at 07:47 UTC | |
by Anonymous Monk on May 08, 2014 at 12:55 UTC | |
by gaja (Initiate) on May 08, 2014 at 13:04 UTC | |
by gaja (Initiate) on May 08, 2014 at 13:06 UTC |