> when we try to you require statement as following
> [- require ('eperl_lib/mysqldb_lib.pl') -]
> We get error
> [32241]ERR: 24: Line 118: Error in Perl code: Undefined subroutine
> &HTML::Embperl::DOC::_2::createTextField called at
> /home/csi/www/visitor.html line 118.
> Eventhough, we have this function in included libary.
> Basically, we create subroutines in libery under Perl structure language.
> Actually, sometime it works and sometime not.
> We also use Execute ('eperl_lib/mysqldb_lib.pl') and get same error.
> May you give me any suggestion or this is a bug of embed perl. By the way,
> we use embed perl version 1.3b5
>

That isn't a bug, but due to the way Perl modules (escpecialy under
mod_perl) works. See the FAQ for an explaination:

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

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 925151
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