Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 16:06:17 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Mars G Miro <mars@cannoncreek.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Fw: clarification on P5-CGI port
Message-ID:  <20010702160617.B15691@ringworld.oblivion.bg>
In-Reply-To: <01070218284600.13468@hellraiser.cannoncreek.com>; from mars@cannoncreek.com on Mon, Jul 02, 2001 at 06:28:46PM %2B0800
References:  <013401c102e3$9d2ba700$4500a8c0@nomad> <01070218284600.13468@hellraiser.cannoncreek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> ..
> <snipped to save bw & hard dick space>
> ..
> >
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010702160617.B15691>