DelphiFAQ Home Search:
General :: Web publishing :: perl CGI
CGI = Common Gateway Interface, a specification for transferring information between a web server and a CGI program. Here you find code snippets for CGIs written in perl.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

perl CGI script cannot load a library


I run a perl script in mod_perl on Apache 2 and it does not work properly, apparantly it cannot find a C++ library named
I found this library located in /usr/local/lib


Apache does not pass the environment variable that holds the library path to the processes running on mod_perl.

Add the following line to your httpd.conf file:

SetEnv LD_LIBRARY_PATH /usr/local/lib

and the calls to your library will work.

Generated 8:02:17 on Aug 20, 2017