From: Matt S Trout Date: Thu, 12 Nov 2009 17:14:55 +0000 (+0000) Subject: remove pointless warn X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ffc66404cedbfbaf6aefad4719f58ba3b7396f92;p=sdlgit%2FSDL-Site.git remove pointless warn --- diff --git a/cgi-bin/sdl.cgi b/cgi-bin/sdl.cgi index 5730285..b3c1579 100755 --- a/cgi-bin/sdl.cgi +++ b/cgi-bin/sdl.cgi @@ -28,7 +28,7 @@ sub page { dispatch [ sub (GET + /) { redispatch_to '/index.html' }, sub (GET + /**/) { - redispatch_to do { my $x = join('/','',$_[1],'index.html'); warn $x; $x }; + redispatch_to join('/','',$_[1],'index.html'); }, sub (.html) { filter_response { $self->render_html($_[1]) }