Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 10:48:37 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-questions@FreeBSD.ORG, Ketung.hsiao@losangeles.af.mil
Subject:   Re: Perl -v
Message-ID:  <199810081748.KAA17316@pau-amma.whistle.com>
In-Reply-To: <361CE5ED.38EC6282@losangeles.af.mil>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Thu, 08 Oct 1998 09:18:53 -0700
>From: Ketung hsiao <Ketung.hsiao@losangeles.af.mil>

>I then did:
>    cd /usr/ports/lang/perl5
>    make install

>after this:
>    perl -v  still give me "This is perl, verision 4.0"

I believe that the port places perl in /usr/local/bin; I expect that
your execution path (the environment variable PATH) has /usr/bin prior
to /usr/local/bin in the search sequence.

I choose to make my PATH so that /usr/local/bin precedes /usr/bin; thus:

pau-amma[1] which perl && perl -v
/usr/local/bin/perl

This is perl, version 5.005_02 built for i386-freebsd

Copyright 1987-1998, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.



david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

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?199810081748.KAA17316>