From owner-freebsd-ports@FreeBSD.ORG Wed Jan 28 17:39:07 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AC5E16A4CF for ; Wed, 28 Jan 2004 17:39:07 -0800 (PST) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6347043D39 for ; Wed, 28 Jan 2004 17:39:01 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([69.160.71.102]) by mta9.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040129013852.HKYF27240.mta9.adelphia.net@moo.holy.cow> for ; Wed, 28 Jan 2004 20:38:52 -0500 Received: by moo.holy.cow (Postfix, from userid 1001) id BF65CA203; Wed, 28 Jan 2004 20:38:43 -0500 (EST) Date: Wed, 28 Jan 2004 20:38:43 -0500 From: parv To: freebsd-ports@freebsd.org Message-ID: <20040129013843.GA1794@moo.holy.cow> Mail-Followup-To: freebsd-ports@freebsd.org References: <20040128194307.GB25550@parts-unknown.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040128194307.GB25550@parts-unknown.org> Subject: Re: Perl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 01:39:07 -0000 in message <20040128194307.GB25550@parts-unknown.org>, wrote David Benfell thusly... > > 1) File::Copy doesn't seem to work properly. Until I rebuilt Perl > from source via CPAN, bypassing the port, I was getting an error > that indicated it couldn't find the move subroutine. Move is one > of the functions provided by File::Copy. You did not say which version of port you had tried. Here File::Copy::move() works (perl 5.8.2_2 on FreeBSD 4.8-Release-p14) ... rm -rf r touch p ls -l p perl -MFile::Copy -e \ ' die "'p' does not exist" unless -e "./p"; move("p" , "r") or die "$!"; ' ls -l p r perl -MFile::Copy -e \ ' die "'p' does not exist" unless -e 'p'; move("p" , "r") or die "$!"; ' ...gives... -rw------- 1 parv people 0 Jan 28 20:36 p ls: p: No such file or directory -rw------- 1 parv people 0 Jan 28 20:36 r p does not exist at -e line 1. > 2) There are no man pages. Well, my problem was that the port did. That is perl5.8 port installs both pods & man pages. I had to do something, don't remember what, so that man pages are not installed. - Parv --