http://www.perlmonks.org?node_id=1205472

nysus has asked for the wisdom of the Perl Monks concerning the following question:

I've got perlbrew installed on a development machine running an older version of perl. On my debian box, I used system perl, using the debian package manager, to get mysql installed. I now want to install DBD::mysql so my perlbrew scripts can use it. I can install the Debian libdbd-mysql package and get it installed system wide easily. But, of course, my scripts running on the Perlbrew version of perl know nothing about their existence and so can't use the perl packages installed by libdbd-mysql. And when I try to install DBD::mysql with perlbrew, I get configuration errors.

So what's the most painless way of getting perlbrew to work with DBD::mysql? Is there a way to get it to use the system wide DBD::mysql package that won't break things? Thanks!

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks