From owner-freebsd-questions Thu Jun 28 13:32:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id 5A39B37B409 for ; Thu, 28 Jun 2001 13:32:08 -0700 (PDT) (envelope-from cfedde@fedde.littleton.co.us) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.4/8.11.2) with ESMTP id f5SKVmN02236; Thu, 28 Jun 2001 14:31:49 -0600 (MDT) Message-Id: <200106282031.f5SKVmN02236@fedde.littleton.co.us> To: Len Conrad Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Perl module install In-Reply-To: <5.1.0.14.0.20010628221229.02584ec8@mail.Go2France.com> From: Chris Fedde Date: Thu, 28 Jun 2001 14:31:48 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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