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 --- postfix_wizard/Postfix.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'postfix_wizard') diff --git a/postfix_wizard/Postfix.pm b/postfix_wizard/Postfix.pm index 75edee65..e443aa1c 100755 --- a/postfix_wizard/Postfix.pm +++ b/postfix_wizard/Postfix.pm @@ -283,10 +283,8 @@ $o->{pages} = { }; sub new { - my ($class, $_conf) = @_; - bless { - o => $o, - }, $class; + my ($class) = @_; + bless $o, $class; } sub check_sendmail { -- cgit v1.2.1