Andy Kurth resolved VCL-541.

    Resolution: Fixed
> Remove "return 0" from all subroutines which normally return an array or hash
> -----------------------------------------------------------------------------
>                 Key: VCL-541
>                 URL: https://issues.apache.org/jira/browse/VCL-541
>             Project: VCL
>          Issue Type: Bug
>          Components: vcld (backend)
>    Affects Versions: 2.2.1
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>            Priority: Minor
>             Fix For: 2.3
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to