I like to keep my perl programs in files named *.pl since this makes it easy to find and work with them. However it is better to install them as normal programs. This does that.
*.pl
The other key thing this does is sets up the scripts to call the perl interpreter correctly. I really needed this since I was working with self compiled versions of perl in my home directory and not wanting to disturb the main installation
This ought to be possible through standard Makefile.PL, but I don't know how.
I also set this up to install the documentation appropriately.
To install , copy and paste the appropriate command in to your terminal.
cpanm
cpanm MIKEDLR/makerpm-0.409.tar.gz
CPAN shell
perl -MCPAN -e shell install MIKEDLR/makerpm-0.409.tar.gz
For more information on module installation, please visit the detailed CPAN module installation guide.