Weblog entry #4 for ajt

Perl in Debian
Posted by ajt on Tue 26 May 2009 at 09:00
Tags:
On my Debian systems I try to leave Perl as installed by Debian. I don't like messing with standard libraries as it always explodes on you when you least expect it. What surprises me though is that some Perl modules in Debian are woefully out of date - even in Debian testing.

I've tried running with locally installed Perls in the past but not with a lot of luck - odd things kept happening. I really need to try it again...

 

Comments on this Entry

Posted by Anonymous (85.221.xx.xx) on Tue 26 May 2009 at 10:20
For a single-app environment, I tend to go with a relocatable perl installed into svn, whose @INC includes the system perl at the end.

If you want to interact nicer with the system perl, take a look at CPANPLUS::Dist::Deb to be able to get uptodate modules in debian format.

--Kane

[ Parent | Reply to this comment ]

Posted by ajt (195.112.xx.xx) on Tue 26 May 2009 at 11:03
[ Send Message | View Weblogs ]

Ta, I'll have a look at that - useful tip.

--
"It's Not Magic, It's Work"
Adam

[ Parent | Reply to this comment ]

Posted by Anonymous (82.46.xx.xx) on Wed 27 May 2009 at 10:31
You could try dh-make-perl:

sudo apt-get install dh-make-perl
dh-make-perl --cpan Test::XML --build
sudo dpkg -i libtest-xml-perl*.deb

[ Parent | Reply to this comment ]

Posted by ajt (204.193.xx.xx) on Wed 27 May 2009 at 11:00
[ Send Message | View Weblogs ]

That's what I tried to start with, but for some reason it refused to work, no matter what I tried. I then tried a plain CPAN process which worked perfectly, so I'm not sure why dh-make-perl was having a problem.

--
"It's Not Magic, It's Work"
Adam

[ Parent | Reply to this comment ]