Base: fix the default output function
authorRalf Ertzinger <ralf@skytale.net>
Sat, 23 Jul 2011 19:32:03 +0000 (21:32 +0200)
committerRalf Ertzinger <ralf@skytale.net>
Sat, 23 Jul 2011 19:32:03 +0000 (21:32 +0200)
videosite/Base.pm

index 67ca218..55a15e6 100644 (file)
@@ -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);