Perl housecleaning
am 23.12.2004 15:35:09 von Adam Lanier
I'm having an issue with a module, MIME::Tools. MIME::Tools 5.415
requires MIME::Base64 with a version greater than 3.03. I have the latest
version installed 3.05 but when I run my scripts I get an error that
indicates only version 1.00 of MIME::Base64 is installed.
How does one go about correcting these types of issues? I see that I have
several versions of Perl installed on this system. It is certainly
possible that I have multiple versions of this module installed.
Are there tools to walk through the Perl installations on a system and
sanity check them? I'd actually like to remove the older Perl versions
from my system if I could be assured that all the modules installed in
older versions were already installed in the 5.8.5 installation.
Any advice or suggestions?
Re: Perl housecleaning
am 23.12.2004 16:22:16 von Gunnar Hjalmarsson
Adam Lanier wrote:
> I'm having an issue with a module, MIME::Tools. MIME::Tools 5.415
> requires MIME::Base64 with a version greater than 3.03. I have the latest
> version installed 3.05 but when I run my scripts I get an error that
> indicates only version 1.00 of MIME::Base64 is installed.
>
> How does one go about correcting these types of issues? I see that I have
> several versions of Perl installed on this system.
I'm not going to advise you how to (if it's even advisable to) do the
general "housecleaning", but to have MIME::Tools use the correct version
you can:
- Find out in which path the latest MIME/Base64.pm version is located
- Add this line before you use MIME::Tools:
use lib '/path/to/directory/with/latest/version';
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Re: Perl housecleaning
am 23.12.2004 20:37:15 von Jim Gibson
In article <3306noF3qgucaU1@individual.net>, Gunnar Hjalmarsson
wrote:
> Adam Lanier wrote:
> > I'm having an issue with a module, MIME::Tools. MIME::Tools 5.415
> > requires MIME::Base64 with a version greater than 3.03. I have the latest
> > version installed 3.05 but when I run my scripts I get an error that
> > indicates only version 1.00 of MIME::Base64 is installed.
> >
> > How does one go about correcting these types of issues? I see that I have
> > several versions of Perl installed on this system.
>
> I'm not going to advise you how to (if it's even advisable to) do the
> general "housecleaning", but to have MIME::Tools use the correct version
> you can:
>
> - Find out in which path the latest MIME/Base64.pm version is located
>
> - Add this line before you use MIME::Tools:
>
> use lib '/path/to/directory/with/latest/version';
Try the 'r' command in the CPAN shell:
[sudo] perl -MCPAN -eshell
r
It takes awhile to run; be patient.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----