Peter Scott <[EMAIL PROTECTED]> writes:

> @a = @b || @c should 'work'.  In P5 it puts @b in scalar context and
> thus evaluates as the number of elements in @b if there are any.

Define 'work'.

  if (@b) { @a = @b } else { @a = @c }
  $a[$_] = $b[$_] || $c[$_] foreach (0..max(@a,@b,@c))
  ...other...

-- Johan

Reply via email to