From owner-freebsd-ports Mon Jul 2 6: 1:45 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id E494C37B408 for ; Mon, 2 Jul 2001 06:01:41 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 15795 invoked by uid 1000); 2 Jul 2001 13:06:17 -0000 Date: Mon, 2 Jul 2001 16:06:17 +0300 From: Peter Pentchev To: Mars G Miro Cc: freebsd-ports@freebsd.org Subject: Re: Fw: clarification on P5-CGI port Message-ID: <20010702160617.B15691@ringworld.oblivion.bg> Mail-Followup-To: Mars G Miro , freebsd-ports@freebsd.org References: <013401c102e3$9d2ba700$4500a8c0@nomad> <01070218284600.13468@hellraiser.cannoncreek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01070218284600.13468@hellraiser.cannoncreek.com>; from mars@cannoncreek.com on Mon, Jul 02, 2001 at 06:28:46PM +0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jul 02, 2001 at 06:28:46PM +0800, Mars G Miro wrote: > On Monday 02 July 2001 18:41, you wrote: > > > > Thanks for the response, guys, but: > .. > > .. > > > > and > > > > > > still is v2.46 of the base system ;-( > > > > > > > > Has anybody really successfully installed CGI.pm v2.76 from the ports? > > > > > > Why do you think the new CGI module should have an actual CGI.pm module? > > > > > :) > > > I dunno, maybe because there's an original CGI.pm installed in > > /usr/libdata/perl/5.00503/CGI.pm > > and that installing a new version should over write it or install it (new > CGI.pm) in /usr/local/lib/path/to/perl/modules..... No, it shouldn't, for several reasons. First, the ports are not allowed to touch anything outside of their PREFIX, usually /usr/local. If a Perl module is installed under /usr/local/libdata/perl, I think that Perl would pick it up first when searching for a .pm file by name. Second, no, the p5-CGI module should not deinstall a CGI.pm, if there is no CGI.pm file in the module itself. The fact that the module is called 'CGI' does not necessarily mean that it has to include a file named CGI.pm, which you include with 'use CGI'. It might as well contain several files in a common CGI subdir, which you include with 'use CGI::Base' and such. > > > I seem to remember somebody stating that as one of the differences along > > > the upgrade path - that the new p5-CGI module does not have a CGI module > > > per se, but it is broken into parts. > > > > > > Ohh, w/c definitely means that my CGI.pm is now v2.76? I'll see whether it > gives some of the functionality. Not your CGI.pm. Your Perl CGI module, yes. But not the actual module that you use by 'use CGI'. To use the new functionality, you have to use the new module's parts by 'use CGI::Base' or similar. G'luck, Peter -- No language can express every thought unambiguously, least of all this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message