The post to which you replied discusses whether map returns aliases or not. This is not related to whether map operates on an alias when executing the code block.
What version of perl is this and why doesn't it agree with the documentation
The docs (for 5.10.0) specify that grep returns aliases, but they are silent on whether map returns aliases or not.
Confirmed with 5.10.0 that map aliases not copies
Your snippet discards the return value of map without checking whether it's an alias or not.
In reply to Re^4: Reassigning $_ in loop doesn't stick
by ikegami
in thread Reassigning $_ in loop doesn't stick
by bennymack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |