Skip Menu |

This queue is for tickets about the Array-RefElem CPAN distribution.

Report information
The Basics
Id: 82615
Status: new
Priority: 0/
Queue: Array-RefElem

People
Owner: Nobody in particular
Requestors: DBWELLS [...] cpan.org
Cc: dbwells [...] gmail.com
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



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.