I agree. Well it could be a bug, but I don't think this case is even documented. It should at least be listed as a caveat. I'm going to poke into the source.
Update: I should note that it also does that to the referenced array if you share a reference.
In reply to Re: share() bug?
by meredith
in thread share() bug? ( [perl #30702] )
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |