From da5ab569e600fa1a689268dae9c72eb03bd88a6e Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 30 Nov 2012 09:05:22 +0000 Subject: [PATCH] defined(%hash) is deprecated git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCdb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCdb.pm b/perl-xCAT/xCAT/PPCdb.pm index 91c347005..52bc3a804 100644 --- a/perl-xCAT/xCAT/PPCdb.pm +++ b/perl-xCAT/xCAT/PPCdb.pm @@ -1167,7 +1167,7 @@ sub read_from_table { my %typehash; my %iphash; my %vpdhash; - if ( !defined(%::OLD_DATA_CACHE)) + if ( !(%::OLD_DATA_CACHE)) { # find out all the existed nodes' ipaddresses my $hoststab = xCAT::Table->new('hosts');