From 86b4aef33b23e5c2a412938fa76ff4d6d685e649 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 21 May 2018 22:26:46 -0400 Subject: fix read-only problem more --- Bugzilla/Quantum/Stdout.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Quantum/Stdout.pm') diff --git a/Bugzilla/Quantum/Stdout.pm b/Bugzilla/Quantum/Stdout.pm index 1aafddb1a..ee470a56a 100644 --- a/Bugzilla/Quantum/Stdout.pm +++ b/Bugzilla/Quantum/Stdout.pm @@ -29,9 +29,9 @@ sub PRINT { ## no critic (unpack) my $self = shift; foreach my $chunk (@_) { - $chunk = "$chunk"; - utf8::encode($chunk); - $self->controller->write($chunk); + my $str = "$chunk"; + utf8::encode($str); + $self->controller->write($str); } } -- cgit v1.2.3-24-g4f1b