Install Perl Modules (176 Views)
Occasional Advisor
Posts: 8
Registered: ‎01-28-2012
Message 1 of 2 (176 Views)

Install Perl Modules

This past weekend we upgraded to HPUX 11i version3.    Now our automated FTP Perl scripts are not working.  We are getting error messages that it can't locate /Net/FTP/ and it "cannot open hash database /etc/mail/aliases.db: Invalid argument dbm map "Alias0": missing map file /etc/mail/aliases".  Can someone assist with instructions on how to re-install the Perl modules and the path that the system is looking for Perl?

Honored Contributor
Posts: 13,900
Registered: ‎06-21-2000
Message 2 of 2 (162 Views)

Re: Install Perl Modules

For the aliases error try running the 'newaliases' command to generate a new aliases db.


# newaliases


As far as the PERL modules go, CPAN is probably the easiest method to install modules.


If you enter 'CPAN' the the # prompt, you should get to a 'cpan>' prompt.  From there you can do:


cpan> install Net::FTP::File


This will download and install the PERL module.  If you get a complaint that the URL is not valid, do the following:


cpan> o conf urllist

cpan> o conf commit


Then try the install again.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.