From 3adb3d824864804a357b68dd33f9c2c973742174 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 17 Feb 2017 23:40:37 +0000 Subject: repobrowse: minor style cleanups Avoid using '=>' arrow notation for arrays and array references, it is confusing and more verbose. Additionally, combine "use constant" statements when possible. --- lib/PublicInbox/Repobrowse.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/Repobrowse.pm') diff --git a/lib/PublicInbox/Repobrowse.pm b/lib/PublicInbox/Repobrowse.pm index 86778514..6fc060ae 100644 --- a/lib/PublicInbox/Repobrowse.pm +++ b/lib/PublicInbox/Repobrowse.pm @@ -73,7 +73,7 @@ sub no_tslash { } my $url = $base . $uri . $qs; [ 301, - [ Location => $url, 'Content-Type' => 'text/plain' ], + [ 'Location', $url, 'Content-Type', 'text/plain' ], [ "Redirecting to $url\n" ] ] } -- cgit v1.2.3-24-ge0c7