[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59676] [PATCH] grog/subs.pl: Don't use "exists" on array values
From: |
Dave |
Subject: |
[bug #59676] [PATCH] grog/subs.pl: Don't use "exists" on array values |
Date: |
Mon, 18 Jan 2021 07:20:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #4, bug #59676 (project groff):
The "exists" documentation linked in comment #1 contains the sentence
"WARNING: Calling 'exists' on array values is strongly discouraged." I
presume this is what Bjarni is referring to.
In these instances, "exists" is being called on hash values (the function's
intended use), so Perl wouldn't have anything to warn about.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59676>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/