Free Perl Modules

Donations will be gladly accepted.

The Web Toolkit

The Web Tool Kit contains perl modules for creating web pages and ePub formatted ebooks.

Cgi and Draw

The Cgi.pm and Param.pm modules provide functions for reading CGI arguments. The Draw.pm module provides functions for rendering html/xml content. These together can be used in place of the standard CGI.pm module.

RTF module

The Rtf.pm module can be used to generate RTF files. Many settings and options are available, but are not covered in the perldoc. The RTF formatter for the Document.pm module (below) shows the module in use.

Document module

The Document module reads plan text files that are decorated with simple markup into perl data objects. Once loaded, the documents can be rendered as formatted text, RTF, XHtml, EPub, or Kindle. (I don't use the kindle output anymore. I use the EPub formatter and then convert it to kindle using the KindleGen program.)

Document Helper Files

Here is a sample book. The sample.template file contains the text and variables. mkbook.pl is the perl script that builds the book. Use the command: mkbook.pl sample.template -epub.