develooper Front page | perl.perl5.porters | Postings from September 2013

Re: [perl.git] branch blead, updated. v5.19.3-566-ga48e117

Thread Next
From:
Father Chrysostomos
Date:
September 16, 2013 17:07
Subject:
Re: [perl.git] branch blead, updated. v5.19.3-566-ga48e117
Message ID:
20130916170739.6228.qmail@lists-nntp.develooper.com
Steve Hay wrote:
> +L<delete argument is not a HASH or ARRAY element or slice|perldiag/"delete argument is not a HASH or ARRAY element or slice">
> +
> +(F) The argument to C<delete> must be either a hash or array element, such as:
> +
> +    $foo{$bar}
> +    $ref->{"susie"}[12]
> +
> +or a hash or array slice, such as:
> +
> +    @foo[$bar, $baz, $xyzzy]
> +    @{$ref->[12]}{"susie", "queue"}
> +
> +=item *
> +
> +L<exists argument is not a HASH or ARRAY element or a subroutine|perldiag/"exists argument is not a HASH or ARRAY element or a subroutine">
> +
> +(F) The argument to C<exists> must be a hash or array element or a subroutine
> +with an ampersand, such as:
> +
> +    $foo{$bar}
> +    $ref->{"susie"}[12]
> +    &do_something
> +
> +=item *
> +
> +L<exists argument is not a subroutine name|perldiag/"exists argument is not a subroutine name">
> +
> +(F) The argument to C<exists> for C<exists &sub> must be a subroutine name, and
> +not a subroutine call.  C<exists &sub()> will generate this error.

Those are not new errors.  They are just listed with explicit ‘exists’
and ‘delete’ now (and alphabetised under the same) rather than %s.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About