[Catalyst] Catalyst::Manual::Tutorial::CatalystBasics [error]Couldn't render template "undef error - status_msg is undefined

Jason Kohles email at jasonkohles.com
Sat Mar 17 18:17:52 GMT 2007


On Mar 15, 2007, at 7:49 AM, hkclark at gmail.com wrote:

> It was my hope that this warning would help people remember to turn  
> it off:
>
> NOTE: Please be sure to disable TT debug options before continuing the
> tutorial (especially the 'undef' option -- leaving this enabled will
> conflict with several of the conventions used by this tutorial and
> TTSite to leave some variables undefined on purpose).
>
> Let me know if anyone has a suggestion on how to improve the wording.
> Maybe I will change "TIP: When troubleshooting TT it can be helpful to
> enable variable DEBUG options." to "TIP: When troubleshooting TT it
> can be helpful to enable variable DEBUG options (you can experiment
> now, but please remove these options before continuing the tutorial)."
> to essentially create a "warning sandwich" before and after the
> example.
>
Maybe using an example other than 'undef' would cause fewer problems.

# This might be a good option for a debugging example...
DEBUG => 'dirs',
DEBUG_FORMAT => '<!-- $file line $line: [% $text %] -->',

-- 
Jason Kohles
email at jasonkohles.com
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire





More information about the Catalyst mailing list