To make it so perl can locate that pesky package.
- Put your cgi script and your package files into your cgi-bin directory or if you can make a 'lib' dir off your cgi-bin dir and put your package(s) in there.
- Add the following to your script code.
use FindBin qw($Bin);
use lib $Bin;
or
use lib "$Bin/lib";
mitd-Made in the Dark
'My favourite colour appears to be grey.'