From: Ralf Ertzinger Date: Tue, 30 Apr 2013 14:03:02 +0000 (+0200) Subject: libvideosite: get rid of //= X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=commitdiff_plain;h=9e6dee05bf21521feaaea1cf4c4c8e0e7f19de66 libvideosite: get rid of //= --- diff --git a/libvideosite.pm b/libvideosite.pm index 4920801..bebc8a5 100644 --- a/libvideosite.pm +++ b/libvideosite.pm @@ -132,9 +132,9 @@ sub _io { # This will define the outputprefix once, so we don't have # do do this every time. - $outputprefix //= sprintf("%svideosite: %s", + $outputprefix = sprintf("%svideosite: %s", $remote_api->{color}->('magenta'), - $remote_api->{color}->()); + $remote_api->{color}->()) unless(defined($outputprefix)); $format = $outputprefix . shift(@text); #