in reply to Generating static HTML pages to view a dynamic website locally

Maybe HTML::WebMake fits your bill? There's also Engelschall's all ecompassing WML suite that uses Perl as well as a range of other text processing tools.

Makeshifts last the longest.