It doesn't do that when I run it in the debugger, but does do that when I run straight through. Thus, I highly suspect a bug in the perl interpreter/runtime.
That said, I'm not really sure what you're trying to get at with your three versions of functions - they look incredibly wierd.
In reply to Re: "map" sometimes uses only the last mapped value
by Tanktalus
in thread "map" sometimes uses only the last mapped value
by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |