Why use map in void context and create a list that you are not going to use?
No list is built in void context anymore.
The only thing that got created and not used is the SVs created by post-increment. $x++ automatically gets converted to ++$x in void context, so your for rewrite doesn't suffer from this whereas the original did.
In reply to Re^2: here is a script to log what you do during the day...
by ikegami
in thread here is a script to log what you do during the day...
by gianni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |