Base: fix the default output function
[videosite.git] / 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);