From 27042032c03b3e89803b1551035125cec1492c0d 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 249f245464..7189a229c1 100755 --- a/about.pl +++ b/about.pl @@ -118,14 +118,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