[Catalyst] HTML::Widget as_xml pretty print

Sebastian Riedel sri at oook.de
Sat Apr 8 13:20:21 CEST 2006


08.04.2006 12:56 A. Pagaltzis:

> * Sebastian Riedel <sri at oook.de> [2006-04-08 08:30]:
>> Maybe there should be a pretty print option, but XML::LibXML is
>> not a very good prereq, because of it's libxml2 dependency.
>
> The other options being, of course, to use a parser which depends
> on expat, or to use XML::SAX::PurePerl which is slow. :-)

I'd say the whole thing is something for the end action and shouldn't  
be a H::W feature,
just pretty print $c->res->body while developing.


--
sebastian




More information about the Catalyst mailing list