On Wed, Aug 31, 2005 at 13:43:57 -0600, Luke Palmer wrote: > Uh yeah, I think that's what I was saying. To clarify: > > sub foo (&prefix:<+>) { 1 == 2 } # 1 and 2 in numeric context > foo(&say); # nothing printed > > But: > > sub foo (&prefix:<+>) { +1 == +2 } > foo(&say); # "1" and "2" printed > > Luke
Furthermore, even if: sub &infix:<==> ($x, $y) { +$x == +$y } sub foo (&prefix:<+>) { 1 == 2 } foo(&say); # nothing printed but if sub foo (&*prefix:<+>) { 1 == 2 } then what? -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me does a karate-chop-flip: neeyah!!!!!!!!!!!!!!
pgppXjgXKwsYS.pgp
Description: PGP signature