From: Sebastian Riedel Date: Sun, 3 Apr 2005 01:34:31 +0000 (+0000) Subject: cleanup X-Git-Tag: 5.7099_04~1617 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=81f6fc50d241d81f6c84cc8d2155f15c67868a5e cleanup --- diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index f1c473b..8dee01f 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -582,7 +582,8 @@ sub prepare_action { if ($#$result) { my $match = $result->[1]; my @snippets = @{ $result->[2] }; - $c->log->debug(qq/Requested action "$path" matched "$match"/) + $c->log->debug( + qq/Requested action is "$path" and matched "$match"/) if $c->debug; $c->log->debug( 'Snippets are "' . join( ' ', @snippets ) . '"' ) @@ -592,7 +593,7 @@ sub prepare_action { } else { $c->req->action($path); - $c->log->debug(qq/Requested action "$path"/) if $c->debug; + $c->log->debug(qq/Requested action is "$path"/) if $c->debug; } $c->req->match($path); last; @@ -928,24 +929,6 @@ sub _class2prefix { return $prefix; } -sub _prettify_action { - my ( $val1, $val2, $val3 ) = @_; - formline ' + @<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<' - . ' @>>>>>>>>>>>>>> ', $val1, $val2, $val3; - my $formatted = $^A; - $^A = ''; - return $formatted; -} - -sub _prettify_stats { - my ( $val1, $val2 ) = @_; - formline ' + @<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<< ', - $val1, $val2; - my $formatted = $^A; - $^A = ''; - return $formatted; -} - =back =head1 AUTHOR