Re: [siesta-dev] Siesta problem/issue

[prev] [thread] [next] [lurker] [Date index for 2004/10/09]

From: Mark D. Anderson
Subject: Re: [siesta-dev] Siesta problem/issue
Date: 20:38 on 09 Oct 2004
On Fri, 08 Oct 2004 09:13:52 -0700, "Roderick A. Anderson"
<raa@xxxxxxxxxx.xxx> said:

> Now a possibly quick perl question.  I've never downgraded a package.  
> Is there a perl -MCPAN -e shell
> option to do this or a command line method.  I can't remember how I
> installed DBD::SQLite.  
> I think command line; perl Makefile.PL, make etc.; as I was getting
> errors when using the 
> CPAN module so how do I do it via. the command line.

You've probably figured it out by now, but whenever you install
a perl module via CPAN, it replaces the previous one.

There is of course some fine print: some packaging systems
(such as freebsd) include a bunch of packages for perl modules,
so if you used those to install, then you should do an uninstall
using that package manager.

Also, while perl has no builtin ability to maintain multiple versions
of modules, it does have a builtin ability to search sitelibs
across all previous versions of perl itself. So if you have
your perl(s) installed in just the right way, you can have
both perl 5.8.x and perl 5.6.x installed, and then perl 5.8.x
will look in perl 5.6.x if it doesn't find it in its own 
sitelib. This won't always work, when for example there are
XS files with binary dependencies on obsoleted perl internals.

More than you wanted to know I'm sure, but I thought I'd mention
it because I take advantage of this personally to have both
a stable and bleeding-edge perl on one machine.
You do still have to wrestle with CPAN on perl 5.6, because it'll
say things like "Oh, you'd like to pull on this little thread?
Well, then I'm just going to have to upgrade you to perl 5.8,
so there! Now are you happy? Oh, and have I mentioned lately
how smelly I find your version of LWP?"

-mda

There's stuff above here

Generated at 22:00 on 09 Oct 2004 by mariachi 0.52