in reply to Re: Can't locate object method "content_type"
in thread Can't locate object method "content_type"

Hi Corion, Thanks for your quickest reply. Myself its working properly and the output as Now is: Fri May 2 07:25:11 2014 But the problem is when i added a filters in httpd.conf file like
SetHandler modeperl PerlResponseHandler Apache2::AddFilterDyn
After i restarting a apache and running the index.pl file then shows a error as Can't locate object method "content_type" via package "Apache2::Filter"

Replies are listed 'Best First'.
Re^3: Can't locate object method "content_type"
by Anonymous Monk on May 02, 2014 at 07:47 UTC
      Hi Finally i found the solution. in .htaccess file need to add this.
      SetHandler perl-script PerlOptions +MergeHandlers PerlResponseHandler Apache2::AddFilterDyn
      Actually I already have one PerlResponseHandler ModPerl::Registry So, my AddFilterDyn filter is not working proper. PerlOptions +MergeHandlers gives the solution for it. Thanks all.
      Hi Finally i found the solution. in .htaccess file need to add this.
      SetHandler perl-script PerlOptions +MergeHandlers PerlResponseHandler Apache2::AddFilterDyn
      Actually I already have one default PerlResponseHandler ModPerl::Registry So, my AddFilterDyn filter is not working proper. PerlOptions +MergeHandlers gives the solution for it. Thanks all.