> "Lihn, Horng-Twu" <[EMAIL PROTECTED]> writes:
>
> > I have a library of perl routine that I call in cgi-bin environment
> > where I usually "require".  I could not find any way to require it
> > and use it in Embperl. I can not find any doc describing how this is
done.
> > (I can require it in the Mason handler.pl)
>
> In embperl, you can require or use within [! !] and [- -] tags.
>
>

If you only want to require the module (and not import symbols, like "use"
does), it's the best to load it on server startup, for example via

PerlModule foo

in your httpd.conf

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



Reply via email to