in reply to Evaluates two array index

push @multi, shift( @one )*shift( @two ) while @one && @two;

the lowliest monk

Replies are listed 'Best First'.
Re^2: Evaluates two array index
by sh1tn (Priest) on Apr 06, 2005 at 11:31 UTC
    shift is unsuitable unless you want empty arrays.