http://www.perlmonks.org?node_id=382887

sutch has asked for the wisdom of the Perl Monks concerning the following question:

I'm looking for some code or a module to print arbitrary perl data structures as HTML, for display in a web browser.

So far I've found:

  • Data::HTMLDumper - Dumps a data structure to an HTML table. Does not escape special HTML characters such as &, < and >. Does not allow for changing the table's attributes.
  • Data::TreeDumper::Renderer::DHTML - Renders a data structure as DHTML (JavaScript is required).