in reply to perl module Sendmail location

Just where did you install it? full path starting with a slash please

I installed Sendmail in local subdir perl/mail
this sounds like you installed it to /home/bmllcom/perl/mail. if so then it would be

use lib qw(/home/bmllcom/perl);