Re: Write PerlPostReadRequestHandler
Raf <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
Marco, On Thu, 19 May 2011, marco wrote: > Il 19/05/2011 16.47, marco ha scritto: > Il 19/05/2011 16.32, Andr? Warnier ha scritto: > On Thu, 19 May 2011, marco wrote: > ... > PerlPostReadRequestHandler touch.pl > > ^^^^^^^^ > This should be the package name of a module on your @INC path. > > - rename your script to "touch.pm" (a convention, for mod_perl handler modules) > Sorry, i have posted the wrong code. The correct one is the follow, (as you suggest me there is OK): > #touch.pm > #------------- > > With this code the server give me the same error(white page + in the > error_log file it prints "failed to resolve handler touch") See perldoc perlmod (http://perldoc.perl.org/perlmod.html) You need to implement a perl module and I'd recommend some study into modularising perl prior to your diving into implementing a custom handler. Good luck. Raf