Re: [perl #46011] [RESOLVED] overload "0+" doesn't handle integer results On 08/10/2007, Rick Delaney  wrote:
> I'm pretty sure changing the line to
>
>     my $num_val = int($aref);
>
> will make the tests pass without changing the semantic of the test too

Thanks, tweaked as #32071.

> much.  But we could probably use some TODO tests to ensure that
> references in numeric context are always returning IVs.  Or is there a
> platform with pointers bigger than IVs?

I think IVs are guaranteed to be able to hold pointers.


