From ecb3da7f2d59852e605290bdcd5d4b506eaad6d2 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Thu, 5 Apr 2012 14:36:11 +1200 Subject: [PATCH] Bug 6679 : Fixing perlcritic violation in authorities/ysearch.pl --- authorities/ysearch.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/authorities/ysearch.pl b/authorities/ysearch.pl index ff6adbb..26c42d1 100755 --- a/authorities/ysearch.pl +++ b/authorities/ysearch.pl @@ -35,7 +35,7 @@ use C4::Auth qw/check_cookie_auth/; my $query = new CGI; -binmode STDOUT, ":utf8"; +binmode STDOUT, ":encoding(UTF-8)"; print $query->header( -type => 'text/plain', -charset => 'UTF-8' ); my ( $auth_status, $sessionID ) = check_cookie_auth( $query->cookie('CGISESSID'), { } ); -- 1.7.5.4