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


in reply to Re^2: What is the best way to install CPAN modules on Debian?
in thread What is the best way to install CPAN modules on Debian?

I don't allow others to open windows on my X client, and hence Tk's test will fail when run as a different user. Running xauth fixes that.

i use ssh -X for that. e.g. 'ssh -X otheruser@localhost' or 'ssh -X otheruser@remotehost'.

it's the least hassle way of allowing other UIDs temporary access to my X server.

oh, and as for the original thread topic - i use dh-make-perl, and have done so for many years without problem.

For a systems administrator, if not for a programmer, it is THE best way to use non-packaged CPAN modules and still have a consistent environment across hundreds of systems. package it once on your fastest/best dev box and ship it out using scp and install with dpkg (or, if you're doing it a lot, make your own apt repository for your local packages)