On Thu, Feb 21, 2002 at 05:25:32AM +0100, Miroslav Madzarevic wrote:
> 
> Up to now I would just copy perl modules into cgi-bin folder and put cgi-bin 
> path into @INC and everything would work.

Once POE's prerequisites are installed, you can do the same for POE
itself.

> But I think POE requires additional modules (Event and Filter::Util::Call 
> maybe others) that require code to be compiled (xs). I think I can do that by 
> using the script to start external commands. But how do I inform perl of the 
> locations of these compiled modules ? My knowledge of this is rather sparse.
> In mod-perl you just say something like PerlSetEnv PERL5INC ... or PerlSetEnv 
> PERL5LIB ... and you're all set. Here I can push cgi-bin folder to @INC but 
> what about the compiled code ? How do I tell perl where to search for it ? I 
> guess it's the job of DynaLoader to find and load these modules.

Check perlfaq8 for "How do I keep my own module/library directory?"
The compiled code should be loaded fine if your ISP's Perl is compiled
to support dynamic loading.  This is the default, so most systems are.

POE only requires Filter::Util::Call.  I recommend also installing
Time::HiRes.  The remaining modules are only needed if you're doing
specific things.

> BTW How do I search the list archive ...

To be honest, I'm not sure myself.

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net

Reply via email to