Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perl MIME-Tools modules
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
shadow
n00b
n00b


Joined: 30 Jun 2002
Posts: 16
Location: ph

PostPosted: Thu Jul 25, 2002 10:25 am    Post subject: perl MIME-Tools modules Reply with quote

anybody know what to emerge to get MIME-Tools installed? i noticed that /usr/portage/dev-perl only has MIME-Base64 but no MIME-Tools...
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Thu Jul 25, 2002 12:08 pm    Post subject: Reply with quote

perl features it's own rudimentary "package management" which is not as good as portage, and doesn't have an uninstallfunction too, but infact it's much more up to date than the perl portage tree. all perl modules are installed into the /usr/lib/perl5 tree - so the missing uninstall function isn't much of an issue as you can remove packages by simply deleting them.

to install new perl modules, perl provides an own shell to do so which you can invoke via the following command.

Code:
perl -MCPAN -e shell


if you run this command for the first time, you'll need to configure a few things for this functionality which is done interactively (on which most questions are simply answered by pressing enter). perl basically asks which binaries it can use to fetch files from CPAN (Comprehensive Perl Archive Network), which CPAN-Servers it should use (you should select a mirror in your Country) and some other questions.

once you've configured it, you'll should update the CPAN module by running the following command.

Code:
install Bundle::CPAN


it will check dependencies automatically and fetch, compile, configure whatever is nessecary. when this step is done type

Code:
reload CPAN


to restart the CPAN shell application. To get a list of all available commands just type "help", but basically you'll probably need only two commands: the search function

Code:
i /string/


and the install function

Code:
install packagename


or

Code:
install Bundle::name


E.g. for installing the MIME Tools you just need to run the following command

Code:
install MIME::Tools


hope this helps.
_________________
A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
Back to top
View user's profile Send private message
shadow
n00b
n00b


Joined: 30 Jun 2002
Posts: 16
Location: ph

PostPosted: Fri Jul 26, 2002 5:09 pm    Post subject: Reply with quote

coolness! thanks for your very reply :) it was very helpful :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum