Feb 12, 2002, 9:25 AM
Post #6 of 9
There is a local Perl directory that your server looks to for modules when
Re: [Jean] Adding modules to cgi-bin
[In reply to]
a cgi-bin script is to be run. This directory is a sub-directory of the Perl
directory on Win32. In Unix it is a little harder to find. More than likely
you will need to go to CPAN and get most modules and install them using
the make command since some have C-code embedded that requires compiling
on your specific platform. If you are using Win32, you can get most modules
in zipped format and use ppm (perl package manager) which comes with
ActivePerl from ActiveState.com to install the modules. Others require
compiling if ActiveState does not have them.
Putting copies of modules in your cgi-bin is not recommended. Ask your
server admin to install modules required if you do not have privilege to do so.
It is inconvenient but necessary at times.
print unpack"u*",pack "h*",$a,"\n\n";