David M. Lloyd wrote: > $a = ($obj1, $obj2)->method; # Unclear. Calling in scalar context > # gives no benefit, since you will > # still have 2 return values. Maybe call > # methods in list context anyways and > # give the length of the return list? Never! This isn't an array. Only arrays return "length-of" like that. > # Or else return rightmost value. Right. But hopefully all this will be mootified by Perl6's support for higher-order functions. -- John Porter
- Re: Distributive -> and indirect slices (fwd) David M. Lloyd
- Re: Distributive -> and indirect slices (fwd) John Porter
- Re: Distributive -> and indirect slices (fwd) Paul Johnson
- Re: Distributive -> and indirect slices (fwd) John Porter