Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 14:31:48 -0600
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        Len Conrad <LConrad@Go2France.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Perl module install 
Message-ID:  <200106282031.f5SKVmN02236@fedde.littleton.co.us>
In-Reply-To: <5.1.0.14.0.20010628221229.02584ec8@mail.Go2France.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Jun 2001 22:12:31 +0200  Len Conrad wrote:
 +------------------
 | # perl -MCPAN -e 'install Net::FTP'
 | Can't locate object method "install" via package "Net::FTP" (perhaps you 
 | forgot to load "Net::FTP"?) at -e line 1.
 +------------------


Perl is getting confused between function syntax and indirect method syntax.
Try

    perl -MCPAN -e 'install(Net::FTP)' 

Note the parens.

--
    Chris Fedde

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106282031.f5SKVmN02236>