package CGI::Carp::DebugScreen::TT;
use strict;
use warnings;
use Template;
our $VERSION = '0.15';
my $DebugTemplate =<<'EOT';
[% error_at | html %]
[%- IF show_raw_error %]
[% raw_error %]
[%- ELSE %]
[%- error_message %]
[%- END %]
[%- BLOCK navi %]
[%- END %]
[%- INCLUDE navi %]
[%- FOREACH stacktrace = stacktraces %]
- [% stacktrace.caller | html %] LINE : [% stacktrace.line %]
[%- FOREACH context = stacktrace.context %]
[%- IF context.hit %][% ELSE %]
[% END %]
| [% context.no | html %]: | [% context.line | html %] |
[%- END %]
[%- END %]
[%- IF watchlist.0 %]
[%- INCLUDE navi %]
[%- FOREACH watch = watchlist %]
-
[% watch.key | html %]
[%- watch.value %]
[%- END %]
[%- END %]
[%- IF modules.0 %]
[%- INCLUDE navi %]
[%- FOREACH module = modules %]
- [% module.package | html %] ([% module.file | html %])
[%- END %]
[%- END %]
[%- IF environment.0 %]
[%- INCLUDE navi %]
[%- FOREACH env = environment %]
| [% env.key | html %] | [% env.value | html %] /td>
|
[%- END %]
[%- END %]
EOT
my $ErrorTemplate =<<'EOT';