FWIW I just turn debug off, and do
export MYAPP_DEBUG=1; script/myapp_server.pl -r; as I am developing. As that line is always there in the command buffer it's no hassle. If I want I can have BEGIN { $ENV{MYAPP_DEBUG} = 1; } in test scripts. Basically i find just using one mechanism is easier, less to worry about later on. as they say, it works for me ... -- Daniel McBrearty email : danielmcbrearty at gmail.com www.engoi.com danmcb.vox.com danmcb.blogger.com BTW : 0873928131 _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/