in reply to Re^3: Installing Sybase::DBlib problems
in thread Hello Word\n

use is compile time. It gets executed regardless of the elsif clause. You could use require:

elsif($param eq "recv") { use lib './lib'; require Sybase::DBlib; Sybase::DBlib->import; # if any imports }