Ubuntu and Perl

Chris Malton chrism at cjsoftuk.dyndns.org
Wed May 30 09:59:49 UTC 2007

I've *always* used CPAN, and never had any issues.


Anthony Gardner wrote:
> After many years of installing my own version of Perl next to the system 
> installed version, I'm now trying to be a good boy and just use the 
> system installed versions of Perl / Apache / mod_perl2 etc.
> But, as I'm now more restricted, I need some questions answered.
> Perl -V gives me for @INC ....
>   @INC:
>     /etc/perl
>     /usr/local/lib/perl/5.8.8
>     /usr/local/share/perl/5.8.8
>     /usr/lib/perl5
>     /usr/share/perl5
>     /usr/lib/perl/5.8
>     /usr/share/perl/5.8
>     /usr/local/lib/site_perl
> At present, I've only installed libs from adept and everything resides 
> in /usr/lib /usr/share etc.
> Now to the start of my problems. YAML and Test::YAML have been installed 
> by default as I can't remember installing them. But Test::YAML uses 
> Test::Base which isn't installed and doesn't appear in adept.
> What's a poor boy to do in this instance, and future instances like this?
> If I search for YAML in adept, I only get libconfig-yaml-perl, 
> libtemplate-plugin-yaml and lib-yaml-perl (installed)
> How do I make my own packages to install?
> I don;t mind using CPAN to install (makes my life a zillion times 
> easier) but I'm trying to be good and keep the system in check.
> Why is /usr/local/lib /usr/local/share before /usr/lib /usr/share etc. 
> in @INC. that, I find v strange. Or, is it to allow me to use CPAN and 
> install my own stuff in there? If that's the case, there's a big chance 
> of duplicating packages.
> So, who does what out there?
> -Ants
> Inbox full of unwanted email? 
> <http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spam_1gb/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html> 
> Get leading protection and 1GB storage with All New Yahoo! Mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2146 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070530/327535d0/attachment.bin>

More information about the ubuntu-users mailing list