CC: | dbwells [...] gmail.com |
Subject: | Error messages are inaccurate? |
Maybe I am just being thick, but it looks like all of these subs can
croak with an error ending in "... must be an array reference" (or hash,
for hv_store), yet they do not actually require a reference for
arguments, but the array/hash itself. In other words, they expect:
av_store(@a, 1, $a);
not:
av_store(\@a, 1, $a);
but, the error message sounds otherwise to me.
It's possible that this is just taken for granted for XS code, but it
seemed a little off. Not a big deal, and thanks for taking a look.