On Sun, Aug 28, 2005 at 09:45:02 +0000, Luke Palmer wrote: > Where the meta operator is pointing to the parentheses around the > call. Then it is easy to do my map above: > > my ($val1, $val2, $val3) = foo("bar", <<1,2,3>>, "baz")
I think a some << and >> of the same "shape" thrown into to the parameters is in order. Either of these works for me, one reminds me of "explode this, then take the data and funnel it into these", and the other looks more like symmetrical shapes to me: my (>>$val1, $val2, $val3<<) = foo("bar", <<1, 2, 3>>, "baz"); my (<<$val1, $val2, $val3>>) = foo("bar", <<1, 2, 3>>, "baz"); but this doesn't really scale: my (<< << $val1, $val2>>, <<$val3, $val4>> >>) = foo("bar" << <<1, 2>>, <<3, 4>> >>, "baz") we have soome variants: 1, 3 1, 4 2, 3 2, 4 but the return of which pair goes into which value? -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me supports the ASCII Ribbon Campaign: neeyah!!!
pgpcjNZVnhCSK.pgp
Description: PGP signature