From 039043dce270c730cd0880b30f18fd0665a8d5f9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 3 Jan 2006 17:21:06 +0000 Subject: bless directly the wizard object instead of wrapping it in a hash --- client_wizard/Bind_client.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client_wizard') diff --git a/client_wizard/Bind_client.pm b/client_wizard/Bind_client.pm index 81456894..b70e00eb 100755 --- a/client_wizard/Bind_client.pm +++ b/client_wizard/Bind_client.pm @@ -186,9 +186,7 @@ sub do_it { sub new { my ($class) = @_; - bless { - o => $o, - }, $class; + bless $o, $class; } 1; -- cgit v1.2.1