in reply to Re: mysterious hash ref result
in thread mysterious hash ref result

Ah, thank you all very much for that. I did not know that being on the RHS of a => meant list context. I've tracked down the method and indeed it does return a list or scalar, depending upon context.

Replies are listed 'Best First'.
Re^3: mysterious hash ref result
by Errto (Vicar) on Jan 12, 2007 at 20:12 UTC
    I did not know that being on the RHS of a => meant list context

    To be precise, it doesn't really. Being on the inside of an anonymous hash constructor means list context.