[Catalyst] use MyApp without console output in script?

Jonathan Rockway jon at jrock.us
Wed Nov 29 21:49:30 GMT 2006


> use MyApp;
>
> in a script, is there a way to stop all the usual console out that
> happens ?

export CATALYST_DEBUG=0 ?

The problem is that the mere act of require()-ing MyApp calls
MyApp->setup, which unleashes a whole sequence of events that you may or
may not want.  I guess my question for you is, what are you trying to do?

Regards,
Jonathan Rockway

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;



More information about the Catalyst mailing list