Yes, but, it's not scope, it's undefined behaviour.
You say that as if they're mutually exclusive. Yes, you're not allowed to use my there. And whether you use my or not, map creates a scope for both map BLOCK and map EXPR,.
In reply to Re^6: syntax of map operator
by ikegami
in thread syntax of map operator
by sman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |