in reply to Re: run module from cgi-bin
in thread run module from cgi-bin

Also (and probably better):
use lib;