Mailing List Archive

Module compilation under embperl, mod_perl
I know from the documentation and personal experience that Embperl and/or mod_perl compiles Perl modules only once whenever httpd starts or restarts. I am accustomed to restarting the httpd daemon in my development environment whenever I make changes to my .pm files. The question I have is a little more unconventional – if I wanted Embperl or mod_perl to recompile a new version of a .pm file without restarting httpd, could I do that? If so, how. I understand why the modules are compiled at the time of startup and I understand how unconventional this question is.

Thank you.
Re: Module compilation under embperl, mod_perl [ In reply to ]
Williams, David G. (HQ-JF000)[INDYNE INC] schrieb:
> I know from the documentation and personal experience that Embperl
> and/or mod_perl compiles Perl modules only once whenever httpd starts
> or restarts. I am accustomed to restarting the httpd daemon in my
> development environment whenever I make changes to my .pm files. The
> question I have is a little more unconventional – if I wanted Embperl
> or mod_perl to recompile a new version of a .pm file without
> restarting httpd, could I do that? If so, how.
have a look at Apache2::Reload at cpan
and you will see that your question is not so unconventional.

regards
frank

--
mit freundlichem Gruß,

Frank Wesemann
Fotofinder GmbH USt-IdNr. DE812854514
Software Entwicklung Web: http://www.fotofinder.com/
Potsdamer Str. 96 Tel: +49 30 25 79 28 90
10785 Berlin Fax: +49 30 25 79 28 999

Sitz: Berlin
Amtsgericht Berlin Charlottenburg (HRB 73099)
Geschäftsführer: Ali Paczensky




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org