From: Ralf Ertzinger Date: Sat, 23 Jul 2011 19:32:03 +0000 (+0200) Subject: Base: fix the default output function X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=commitdiff_plain;h=139748aa5da3a03f8cd5d754da3fdddf75dabd1c Base: fix the default output function --- diff --git a/videosite/Base.pm b/videosite/Base.pm index 67ca218..55a15e6 100644 --- a/videosite/Base.pm +++ b/videosite/Base.pm @@ -10,7 +10,7 @@ use Data::Dumper; sub new { my $class = shift; - my $self = {'_DEBUG' => 0, '_OUT' => sub {print shift}}; + my $self = {'_DEBUG' => 0, '_OUT' => sub {printf(@_)}}; bless($self, $class);