[cgiapp] Re: TT::Plugin::Dumper and CGI::Session

Peter Karman peter at peknet.com
Mon Oct 29 21:02:22 EDT 2007



A. Pagaltzis wrote on 10/29/07 4:48 PM:
> * Barry Moore <barry.moore at genetics.utah.edu> [2007-10-29 21:55]:
>> Thanks - I wasn't aware of that one.  Also, I should have mentioned that 
>> just dispensing with the pad and indent and wrapping the dumper call with 
>> <pre> tags in the template will fix the problem.
> 
> Don’t forget to pass the output through the HTML filter:
> 
>     <pre>[% dumper.dump(foo) | html %]</pre>
> 

or use the built-in:

 dumper.dump_html( foo )



-- 
Peter Karman  .  http://peknet.com/  .  peter at peknet.com


More information about the cgiapp mailing list