David Steinbrunner napisaĆ(a):
Bruno Czekay wrote:
I decided to use Apache::Reload to get rid of typing:
apachectl stop && apachectl start
every time I change my modules.
You might find using Apache::StatINC to be a better match for what you are
looking for and hopefully not have the same issue in the process:
http://search.cpan.org/~gozer/mod_perl-1.29/lib/Apache/StatINC.pm
I tried it, but it fails (no matter if StatINC_UndefOnReload is on/off):
(...)
Apache::StatINC: Can't locate
/usr/local/lib/perl5/site_perl/5.8.7/Rose/DB/Object/Metadata/Relationship/ManyToOne.pm
Apache::StatINC: Can't locate
/usr/local/lib/perl5/site_perl/5.8.7/Rose/DB/Object/MakeMethods/Generic.pm
Can't override class ARA::Przedstawiciel::Manager which already appears
to be defined. at /home/bruno/public_html/ara/rose/ARA/Przedstawiciel.pm
line 9
Apache::StatINC: Can't locate
/usr/local/lib/perl5/site_perl/5.8.7/Rose/DB/Object/QueryBuilder.pm
Apache::StatINC: Can't locate
/usr/local/lib/perl5/site_perl/5.8.7/Rose/DB/Object/Constants.pm
Apache::StatINC: Can't locate
/usr/local/lib/perl5/site_perl/5.8.7/Rose/DB/Object/Util.pm
(...)
AFAIK if Perl allows to create classes "on-the-fly" there should be some
way to reload modules, which use this capability. Unfortunately solving
this problem requires bigger Perl/mod_perl knowledge than mine - at the
moment ;)
Regards,
Bruno
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object