Hello, all ...

I've a problem where Perl code which uses DBI (DBD::Pg) works in a standalone Perl script, as well as a standalone SOAP server using SOAP::Lite. However, the same code fails under mod_perl and Apache. Looking in the Apache log, it fails because Pg.pm isn't in @INC.

My question is simple: This code has to run on multiple platforms (Debian, Cygwin and Mac OSX) so I would rather not put a "use lib ( "path/to/fink/Perl/packages" )" in the code. Is there a way to have @INC include the Fink Perl package path, outside of the actual Perl code? Perhaps an Apache configuration option? I realize this may be slightly off-topic, but i'm not sure if this is something in Fink-land or Apache-land, hence my question.

Regards,

John

Falling You - exploring the beauty of voice and sound
New album, "Touch", available now
http://www.magnatune.com/artists/falling_you












------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to