http://www.perlmonks.org?node_id=566354


in reply to Re: When in a hashreference a subexpresion?
in thread When is a hashreference a subexpresion?

+{ x } is forcing scalar context (scalar { x };).

Replies are listed 'Best First'.
Re^3: When in a hashreference a subexpresion?
by Jasper (Chaplain) on Aug 09, 2006 at 14:53 UTC
    Yeah, that's right. Sure it does.. Uh-huh.

    I was going to write 'perhaps you should have thought about that before you wrote it', but I imagine you did and still got it completely wrong.