in reply to Re: Re: Want a Hashref. Getting a List in Scalar Context.
in thread Want a Hashref. Getting a List in Scalar Context.

But doesn't "+" become an opcode too? If so, why not err on the side of maintainability?
  • Comment on Re: Re: Re: Want a Hashref. Getting a List in Scalar Context.

Replies are listed 'Best First'.
Re: Re: Re: Re: Want a Hashref. Getting a List in Scalar Context.
by diotalevi (Canon) on May 06, 2004 at 17:30 UTC

    This form of '+' doesn't produce an opcode. Its there purely for the parser's benefit.

    map +( ... ), ...