I use pod (plain old documentation) document processing system.
Probably you have already pod system on your PC.
Try 

perldoc pod2man

perldoc -m pod2man

The latter command will show the source code for both
program and documentation.  
