From ab822df75cf6884051525b61dd3e21f2254994b4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Feb 2003 11:26:15 +0000 Subject: perl_checker compliance ("ref" now need parentheses in many case) --- perl-install/partition_table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/partition_table.pm') diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 8051142a8..0cd11e489 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -783,7 +783,7 @@ sub load { } $@ and die N("Restoring from file %s failed: %s", $file, $@); - ref $h eq 'ARRAY' or die N("Bad backup file"); + ref($h) eq 'ARRAY' or die N("Bad backup file"); my %h; @h{@fields2save} = @$h; -- cgit v1.2.1