From owner-freebsd-questions Mon Jan 27 4: 8:36 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 716D437B401 for ; Mon, 27 Jan 2003 04:08:34 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3238843E4A for ; Mon, 27 Jan 2003 04:08:29 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id h0RC8JFc062017 for ; Mon, 27 Jan 2003 12:08:19 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id h0RC8E1R062016 for freebsd-questions@FreeBSD.ORG; Mon, 27 Jan 2003 12:08:14 GMT Date: Mon, 27 Jan 2003 12:08:14 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Perl gurus?? Message-ID: <20030127120814.GA61767@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20030127055406.GB96745@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030127055406.GB96745@ns2.wananchi.com> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-3.3 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02, USER_AGENT,USER_AGENT_MUTT version=2.43 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 Mon, Jan 27, 2003 at 08:54:06AM +0300, Odhiambo Washington wrote: > I have FreeBSD 5.0-RELEASE (was 4.7-STABLE) but even then, running CPAN > would give the following barf: > > beastie% sudo perl -MCPAN -e shell > Use of uninitialized value in bitwise and (&) at (eval 220) line 1. > Use of uninitialized value in bitwise and (&) at (eval 222) line 1. > > cpan shell -- CPAN exploration and modules installation (v1.61) > ReadLine support enabled > > cpan> > > > > Perl is v5.8.0 > > > Clues welcome. Hmmm... I can't reproduce this under FreeBSD-4.7 and perl-5.8.0. However, I'd hazard a guess that it's something wrong with your local CPAN configuration. What, if anything, are the contents of: /usr/local/lib/perl5/5.8.0/CPAN/Config.pm /root/.cpan/CPAN/MyConfig.pm ~/.cpan/CPAN/MyConfig.pm It's OK if the last two don't exist: that just means you're using the systemwide default configuration. The CPAN module supplied with perl-5.8.0 is version 1.61. There's an update to 1.63 available on cpan.org --- you could try installing that and see if it clears things up. Note however that as CPAN is bundled with perl, the next time you update your perl port you may well end up back where you started. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message