>
> > So could you try to write
> >
> > [- @result=LMail::get_mail() -]
> >
> > Does this change anything ?
>
> I tried that and it works perfectly. But I can't quite think of why it
> would work using that form, although I'm sure I'd understand why if
> someone pointed it out to me.
>

"use" generates an alias to LMail::get_mail, so you can call it without the
need to specify the package name. While StatINC forces a reload of the
module it can't know of the alias. So the alias inside the Embperl page
still points to your old code. I guess when you update your Embperl page
also (so it get's recompiled), it should then point to the new code in your
module.

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



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

Reply via email to