in reply to Re^4: Using Sendmail.pm problem
in thread Using Sendmail.pm problem
Is this an exact transcript of your shell window (where your prompt is everything up to the =>):
gmitest1@mckinley..gmdwit: /home/gmitest1/juice/scripts => Mail/Sendmail.pmIf so, you're giving the Perl module name as a command to your shell, which would explain all the error messages: the shell is trying to execute the package declaration and the POD inside the PM file.
As davorg has mentioned, you really need to use the proper installation tools to make this work.