Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
Description
Subroutines which return a hash or array should not return 0 if an error occurs. For example, if the caller assumes a hash is returned and then attempts to iterate over the hash, the following error will occur:
Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/local/vcl/bin/../lib/VCL/Module/OS/Windows.pm line 1992