diff --git a/NPTest.pm b/NPTest.pm index b00a7086..3d6e3a28 100644 --- a/NPTest.pm +++ b/NPTest.pm @@ -438,7 +438,7 @@ sub LoadCache chomp($fileContents); my( $contentsRef ) = eval $fileContents; - %CACHE = %{$contentsRef}; + %CACHE = %{$contentsRef} if (defined($contentsRef)); }