http://www.perlmonks.org?node_id=574409


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.pm
If 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.

Replies are listed 'Best First'.
Re^6: Using Sendmail.pm problem
by tariqahsan (Beadle) on Sep 22, 2006 at 21:55 UTC
    I guess I don't have a choice but to have the system admin
    install this perl module in the proper manner
    Thank you all!
      I guess I don't have a choice but to have the system admin install this perl module in the proper manner

      Not true. It's possible to install modules using the standard method, but into a non-root directory. See perlfaq for details.

      --
      <http://dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg