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 --- pxe_wizard/Pxe.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pxe_wizard') diff --git a/pxe_wizard/Pxe.pm b/pxe_wizard/Pxe.pm index 89d8dab6..2bcfb4a7 100644 --- a/pxe_wizard/Pxe.pm +++ b/pxe_wizard/Pxe.pm @@ -643,9 +643,7 @@ EOF sub new { my ($class) = @_; - bless { - o => $o, - }, $class; + bless $o, $class; } 1; -- cgit v1.2.1