From c509a2c163de78c709e359e56af23219fbf201e8 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Wed, 14 Dec 2011 15:10:28 +0100 Subject: [PATCH] Bug 7164 follow-up history.txt and perlcritic compliance * in history.txt, added a tab for Stephane Delaune, for display consistency * fixed a small mistake in about.pl that was resulted in a perlcritic failure (cherry picked from commit 82ed4696321df9b3f4e16b759b1e1a083a5c5e28) Signed-off-by: Chris Nighswonger --- about.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/about.pl b/about.pl index 3d743b2f6a..ab6bd72a0c 100755 --- a/about.pl +++ b/about.pl @@ -113,14 +113,14 @@ $template->param( table => $table ); #get file location my $dir = C4::Context->config('intranetdir'); -open( FILE, "$dir" . "/docs/history.txt" ); +open( my $file, "<", "$dir" . "/docs/history.txt" ); my $i = 0; my @rows2 = (); my $row2 = []; -my @lines = ; -close(FILE); +my @lines = <$file>; +close($file); shift @lines; #remove header row -- 2.39.5