From 829074e50fdf5ad9a383234a676f115d4f8b4c5a Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Tue, 6 Apr 2004 11:06:58 +0000 Subject: [PATCH] Spurious warning. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@118 48953598-375a-da11-a14b-00016c27c3ee --- lib/Maypole.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 46fb7d4..70bfd0b 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -55,10 +55,7 @@ sub handler { $r->get_request(); $r->parse_location(); my $status = $r->handler_guts(); - if ($status != OK) { - warn "NOT OK!"; - return $status; - } + return $status unless $status == OK; $r->send_output; return $status; } -- 2.39.2