in reply to run module from cgi-bin

use lib '.';
or, more generally,
use lib '/path/to/add/to/perls/searchpath';

See lib.

the lowliest monk