From 3567c50a33be996d7a3f4fd6c622622105d55a51 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 10 Dec 2002 00:54:27 +0000 Subject: minimal perl_checker fixes to have only warnings --- perl-install/standalone/drakautoinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/drakautoinst') diff --git a/perl-install/standalone/drakautoinst b/perl-install/standalone/drakautoinst index 88320483f..281a6c456 100755 --- a/perl-install/standalone/drakautoinst +++ b/perl-install/standalone/drakautoinst @@ -315,9 +315,9 @@ sub h2widget { sub create_entry_element { my ($text, $value, $label) = @_; my $e; - if(ref ($text) =~ /HASH/) { + if(ref $text =~ /HASH/) { return ([ "$label : ", h2widget($text, $label) ]); - } elsif (ref ($text) =~ /ARRAY/) { + } elsif (ref $text =~ /ARRAY/) { return ([ "$label : ", h2widget($text, $label) ]); } else { $e = new Gtk2::Entry; -- cgit v1.2.1