I'm experimenting with using Perl modules (.pm files) underneath Mason components. As far as I can see, the only way to guarantee that changes made in the .pm are seen by the Mason code is to restart Apache whever the .pm file changes. This is true whether the "use" statement is in handler.pl or in the component. I believe the way this works is that the first time any Apache child process sees "use Foo" that is the version of Foo.pm that will be used by that process. No subsequent "use Foo" within components will have any effect during the life of that Apache process. Am I understanding this correctly?
- Can AxKit be used as a Template Engine? Joachim Zobel
- Re: Must restart Apache when any .pm changes? Steve Leibel
- Re: Must restart Apache when any .pm changes? Dave Rolsky
- Re: Must restart Apache when any .pm changes? Issac Goldstand
- Re: Must restart Apache when any .pm chan... Kee Hinckley
- Re: Must restart Apache when any .pm ... Matt Sergeant
- Re: Can AxKit be used as a Template Engine? Matt Sergeant
- Re: Can AxKit be used as a Template Engine? Michael Alan Dorman
- Re: Can AxKit be used as a Template Engin... Matt Sergeant
- Re: Can AxKit be used as a Template E... Michael Alan Dorman
- Re: Can AxKit be used as a Templ... ed phillips
- Re: Can AxKit be used as a Templ... Matt Sergeant