Building Debian packages of Perl modules

apt-get install dh-make-perl

dh-make-perl --build --cpan HTML::Template::JIT

or

cpan2deb Foo::Bar