Kevin Ryde wrote:
Alas as_arrayref requires the "overload" three args. I wonder if that could be relaxed per below. The test case is actually a good example of the method looking cleaner than the overload, though no doubt it's a matter of personal preference.
Looks good to me. Committed. Thanks for the patch.
I wondered if the "PROTOTYPE:" in the xs was meant to allow this already, except it doesn't. :-) That's something else is it?
Indeed. I don't know why the PROTOTYPE: line doesn't have the desired effect.