Perl's own documentation is written in pod (plain-old documentation) format. You can embed this documentation in your own programs, and it can then be translated to text, HTML, or many other formats as needed. See the perlpod manpage.
Copyright © 2002 O'Reilly & Associates. All rights reserved.