From 139748aa5da3a03f8cd5d754da3fdddf75dabd1c Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Sat, 23 Jul 2011 21:32:03 +0200 Subject: [PATCH] Base: fix the default output function --- videosite/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1