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 --- dns_wizard/Bind.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dns_wizard') diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm index 2e156c51..e9316fa0 100644 --- a/dns_wizard/Bind.pm +++ b/dns_wizard/Bind.pm @@ -803,9 +803,7 @@ sub do_it_list { sub new { my ($class) = @_; - bless { - o => $o, - }, $class; + bless $o, $class; } 1; -- cgit v1.2.1