This document presents Text::Perfide::BookCleaner, a Perl module for preprocessing plain text books to clean them and prepare them for tasks like text alignment. The module handles various cleaning tasks through a multi-step pipeline, including removing page numbers, headers, footnotes, and normalizing formatting. It uses declarative objects like ontologies and configuration files to guide the cleaning process. An evaluation was performed comparing alignments with and without the module, and results are presented.