Here's a failing test case - the 2nd one throws the warning.
diff --git a/t/run.t b/t/run.t
index 0217d81..3a9f759 100644
--- a/t/run.t
+++ b/t/run.t
@@ -727,6 +727,9 @@ my $cfg53 = new
Config::General(-AllowSingleQuoteInterpolation => 1, -String =>
my %hash53 = $cfg53->getall();
is($hash53{have}, "'1'", "check -AllowSingleQuoteInterpolation");
+# check undefined values don't throw warnings with -ForceArray rt#76953
+Config::General->new( -String => "novalue" )->getall();
+Config::General->new( -String => "novalue", -ForceArray => 1 )->getall();
# Make sure no warnings were seen during the test.
ok( !@WARNINGS_FOUND, "No unexpected warnings seen" );
diff --git a/t/run.t b/t/run.t
index 0217d81..3a9f759 100644
--- a/t/run.t
+++ b/t/run.t
@@ -727,6 +727,9 @@ my $cfg53 = new Config::General(-AllowSingleQuoteInterpolation => 1, -String =>
my %hash53 = $cfg53->getall();
is($hash53{have}, "'1'", "check -AllowSingleQuoteInterpolation");
+# check undefined values don't throw warnings with -ForceArray rt#76953
+Config::General->new( -String => "novalue" )->getall();
+Config::General->new( -String => "novalue", -ForceArray => 1 )->getall();
# Make sure no warnings were seen during the test.
ok( !@WARNINGS_FOUND, "No unexpected warnings seen" );