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 --- proxy_wizard/Squid.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'proxy_wizard') diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm index 118fa18e..4848b428 100755 --- a/proxy_wizard/Squid.pm +++ b/proxy_wizard/Squid.pm @@ -192,9 +192,7 @@ $o->{pages} = { sub new { my ($class) = @_; - bless { - o => $o, - }, $class; + bless $o, $class; } sub network_mask { -- cgit v1.2.1