in reply to Re: map BLOCK evaluation contextin thread map BLOCK evaluation context
The or operator always returns a scalar.
No, only the LHS operand is evaluated in scalar context. The RHS inherits.
>perl -E"@a=qw( a b c ); say( 0 or @a );" abc [download]