From owner-freebsd-questions Tue Jan 21 18:34:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA05178 for questions-outgoing; Tue, 21 Jan 1997 18:34:41 -0800 (PST) Received: from onramp.i95.net (root@onramp.i95.net [205.177.132.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA05172 for ; Tue, 21 Jan 1997 18:34:38 -0800 (PST) Received: from flame (ppp76.bcpl.lib.md.us [207.19.142.90]) by onramp.i95.net (8.8.3/8.8.3) with SMTP id VAA10160 for ; Tue, 21 Jan 1997 21:34:29 -0500 (EST) Message-Id: <199701220234.VAA10160@onramp.i95.net> Comments: Authenticated sender is From: "Anil John" Organization: CyberForge Group To: freebsd-questions@freebsd.com Date: Tue, 21 Jan 1997 21:35:05 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: How to make Perl 5 the default... Reply-to: ajohn@cyberforge.com Priority: normal In-reply-to: <199701220129.UAA08547@netcom4.netcom.com> X-mailer: Pegasus Mail for Win32 (v2.52) Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Greetings, When I set up my FreeBSD box (2.1.5) I had installed the perl5 port that came on the CD rom. The only problem now is that when I do a 'perl -v', the system tells me that I am running Perl v4.0. There seems to be a /usr/share/perl (perl4) directory and a /usr/local/lib/perl5 (Perl5 ?). There is a perl executable in /usr/bin How do I set it up so that I am running perl5 as my default? I am new to unix, so step by step explantions would be appreciated :) Anil