On Wed, Jan 26, 2011 at 7:01 AM, Ed Avis <eda@waniasset.com> wrote: > Further, it's not clear how the '$a eq $b' in the 'Any Any' line applies > when the left hand side is not a scalar but an array; not $a but @a. > The operands are always scalar. @a is a shortcut for \@a. *That* is what isn't clear. But I don't see that 'string equality' is the semantics? > > % perl -E '@a = (1, 2, 3); $s = "@a"; say(@a ~~ $s)' > $ perl -E '@a = (1, 2, 3); $s = "".\@a; say(@a ~~ $s)' 1Thread Previous | Thread Next