As a general comment: I had loads of problems mixing CPAN and Ubuntu/Debian packages for Perl modules. Although there are people on the Internet succesfully mixing the two, the general advise is to stick to the modules within a distribution, e.g.
apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl
Often the problem is to find the right package, as the naming sometimes differs and you must try really hard to find the package/module you're looking for.
I use CPAN only as a last resort, if a tool needs a specific (new) version of a module. But somehow later on I always end up re-installing a server.
My 2ct: Stick to the packaged modules as much as you can.