diff options
-rw-r--r-- | Bugzilla/Quantum/Stdout.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |