defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7d20dade12
commit
33f1f5e80d
@ -514,7 +514,7 @@ sub tabdb
|
||||
my $blankok = shift;
|
||||
|
||||
|
||||
if( defined(%::GLOBAL_TAB_HASH) && defined( $::GLOBAL_TAB_HASH{$table}) && defined( $::GLOBAL_TAB_HASH{$table}{$key}) ) {
|
||||
if( %::GLOBAL_TAB_HASH && defined( $::GLOBAL_TAB_HASH{$table}) && defined( $::GLOBAL_TAB_HASH{$table}{$key}) ) {
|
||||
if( defined($::GLOBAL_TAB_HASH{$table}{$key}{$field}) ) {
|
||||
return $::GLOBAL_TAB_HASH{$table}{$key}{$field};
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user