Ubuntu and Perl
Anthony Gardner
cyclewood_ltd at yahoo.co.uk
Wed May 30 09:45:11 UTC 2007
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?
CIA
-Ants
---------------------------------
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070530/9dc0aa3d/attachment.html>
More information about the ubuntu-users
mailing list