Hmmmm....
I have:
(in httpd.conf)
PerlSetEnv PERL5LIB /home/httpd/modules/
PerlSetVar ApacheStatINC_Debug 1
PerlModule Apache::StatINC
PerlInitHandler Apache::StatINC
I'm running under mod_perl and HTML::Embperl is taking care of any files
that end in .epl
I've rolled a little script using embperl that displays
"/home/httpd/modules" as part of the @INC array (it's actually listed
first).
I've made a package called "LMail" with a function (get_mail) that just
iterates over /var/log/maillog and puts it all into an array.
I have:
(in LMail.pm)
@EXPORT_OK=qw(get_mail);
sub get_mail {
# the body goes here
}
My Embperl page (index.epl) has:
[!
use LMail qw(get_mail);
!]
...
[- @result=get_mail() -]
And so forth. I eventually use the <table> auto functions to put the
results into a nice HTML table.
Now, the funny thing is that Apache::StatINC reloads LMail.pm (because I
have debug on and it says so in the error log file) but the changes
don't appear.
Putting it another way, I am using Apache::StatINC and it is reloading
the module. However, Embperl still doesn't pick up the changes and the
only way to force it to is to restart Apache.
I'm running a default RedHat 7.1 Apache, default RedHat 7.1 mod_perl,
but I've had to install HTML::Embperl 1.3.2 manually. Any idea of what
might be tripping me up here?
DSL
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]