[Catalyst] Selective debug output

Balaji Srinivasan balajione at gmail.com
Thu Nov 8 02:46:39 GMT 2007


The way to do this would be to:
__PACKAGE__->config->{'Controller::FormBuilder'}->{new}={ debug=> 0};
Add this line to the controllers that use FormBuilder and it should  
supress all form builder output
Balaji

On Nov 6, 2007, at 3:59 PM, Joe Landman wrote:

> How do I selectively enable or disable debugging output?   
> Specifically, FormBuilder debugging output is simply far to verbose  
> to be meaningful to us.  I suppose I could simply pass in a debug=>0  
> when I create the form.  Is there any global way?
>
> FWIW:  I only want to surpress formbuilder output during debug.
>
>
> -- 
> Joe Landman
> landman at scalableinformatics.com
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list