>
> I have two different embperl pages in two different folders
> using two different perl module (but with the same perl module name).
> Why is it that sometimes one embperl page "use"  the perl module from the
> other directory?
>

Because you have only one Perl Interpreter. You cannot have two different
modules with the same name (mod_perl 2.0 will be able to handle this, by
using different interpreters). The only chance you have is to rename one
module or to run two different Apaches.

> other questions:
> why is it that I have to restart the httpd everytime i make changes to a
> perl module?

See
http://perl.apache.org/embperl/Faq.pod.2.html#When_I_use_a_module_inside_a_E
mb

> why in an embperl page i don't have to do it? i can view its changes by
> just clicking refresh?
>

Because Embperl don't look if any of your modules has change. Because they
normaly not changing, it would be much to expensive. Use Apache::Reload to
handle this job (Apache::Reload is an enhanced version of Apache::StatInc,
which is mentioned in the above FAQ)

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to