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


in reply to Module to debian package

As already mentioned, dh-make-perl is probably the command you're after. What hasn't been mentioned is that there's an excellent draft available of an article that will appear in an upcoming issue of a certain magazine that is well worth subscribing to.

If you're still in need of assistance, the Debian Perl Group have a number of resources that can help you, including mailing lists and IRC channels. They're a very friendly bunch.

If you're impatient, the following code will build a .deb for most well behaved modules, provided you have their dependencies installed:

dh-make-perl --build --cpan Some::Module

All the best,