On 8/22/06, Malcolm J Harwood <[EMAIL PROTECTED]> wrote: > On Tuesday 22 August 2006 04:20 am, Paolo Campanella wrote: > > > On Tue, 2006-08-22 at 00:52, Jay Truesdale wrote: > > > > > http://www.masonhq.com/docs/manual/Admin.html#writing_a_wrapper > > > > > > OK, after poking around for a while, here's my guess. > > > > > > In startup.pl place a use lib '/path/to/my/directory/', > > > then in '/path/to/my/directory', place my own package(s) with a .pm > > > extension. > > That's correct. > You then set your handler module as your handler instead of the default mason > handler (or whatever you're using) in httpd.conf. > > > startup.pl _is_ the wrapper. Did you read the link above? "The eg/ > > directory of the Mason distribution contains a couple sample modules > > that define handler() subroutines...". > > startup.pl is not the Handler module. It's what gets run by the apache parent > process on startup (assuming you configured apache to do so). That allows you > to pre-load all your modules so they are shared between apache children. > > > If you want to know more about such handlers, read the mod_perl guide on > > http://perl.apache.org/ .
OK, great. I think I get it now. THANKS to all who responded, I'll be diving into all this shortly. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users