David Christensen <[EMAIL PROTECTED]> wrote: > Example: > (1,2,3,4,5) >>+<< (1,2) > > Is this equivalent to: > > a) (1,2,3,4,5) >>+<< (1,2,undef,undef,undef) (undef padding) > b) (1,2,3,4,5) >>+<< (1,2,1,2,1) (repetition) > c) (1,2,3,4,5) >>+<< (1,2,2,2,2) (stretching) > d) (1,2) >>+<< (1,2) (truncation) > e) something else, ie, warnings about mismatched dimension, die(), > segfault, kill -9 1 (whatever your sadism level is).
IIRC, it's f) (1,2,3,4,5) >>+<< (1,2,$identity,$identity,$identity), where $identity's value is determined by a table something like this: infix:<+> 0 infix:<-> 0 infix:<~> '' infix:<*> 1 infix:</> 1 infix:<%> mumble infix:<x> 1 I could be wrong, though; I can't find any support for it in the design docs. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker "I used to have a life, but I liked mail-reading so much better."