Hello,
I noticed this behavior:

[0] > my @a = <a b c d e>
[a b c d e]
[1] > .say with $_ for @a
()
[2] > .say if .defined for @a
a
b
c
d
e
[3] > (.say with $_) for @a
a
b
c
d
e
[4] > (.say if .defined) for @a
a
b
c
d
e

Apparently in this case "with" works only as a statement modifier while
"if" works both ways.
Is this a known behavior with well understood reasons, or should I open an
issue?

-- 
Fernando Santagata

Reply via email to