in reply to Re: warnings under the debugger
in thread warnings under the debugger

In both cases the the anonymous hash constructor { foo => () } evaluates its contents in array context.

On the other hand, I don't see how context would even matter. Either way, foo => () represents a single element, and { scalar( foo => ()) } warns just the same.

Why the debugger doesn't warn I don't know either.

Anno