Can't coerce array into hash at C:\tmp\installed_programs.pl line 12 (#1)
(F) You used an array where a hash was expected, but the array has no
information on how to map from keys to array indices. You can do that
only with arrays that have a hash reference at index 0.
The error occurs on statements in the "foreach" loop. One thing that looks strange is the first statement:
next unless my $software = $software->{DisplayName};
because the foreach already defines a "my $software" variable. Any help you can provide regarding this error would be greatly appreciated. Thanks.