Hi, if you change some sort of things in your module, you have to restart Apache, especially when do things like renaming methods, because Perl does a lot of magic cacheing and automatic reload like Embperl and Apache::Reload does, will not work in such situations.
Gerald > -----Original Message----- > From: Jean-Christophe Boggio [mailto:embp...@thefreecat.org] > Sent: Sunday, March 11, 2012 12:26 PM > To: Gerald Richter - ECOS > Cc: embperl@perl.apache.org > Subject: Re: Schrödinger syndrome > > Gerald, > > Le 09/03/2012 23:23, rich...@ecos.de a écrit : > > If you are sure that is not a problem of your module, then I would: > > I'm sure it *is* a problem with my module. > > > - move "sub BEGIN { }" and the "use ..." to a startup.pl file which > > call on server startup (PerlRequire in httpd.conf) > > I don't want to go this way because I'm still building the module (and don't > want to restart Apache after every change). > > > - If this doesn't help, try without the print OUT (use warn for debugging, > which log into apache error log). > > Well, at the time I was doing all my tests, neither print OUT nor warn did > work from within the module. > I am pretty sure I was messing with the return parameters of my function > and that was completely messing things in the module. > > I restarted from scratch, verifying every call and variable and now it seems > very stable. > > > What do you mean by getuser is renamed? > > At some time, I did rename the function in my code but that change was not > visible to Embperl, it was still using the old implementation. I must have > scrambled some cache, I don't know. > > Thanks for your input, > > Have a nice day, > > JC > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org > For additional commands, e-mail: embperl-h...@perl.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org For additional commands, e-mail: embperl-h...@perl.apache.org