On Mon Apr 23 16:26:04 2012, LeonT wrote: > On Tue, Apr 24, 2012 at 12:41 AM, Leon Timmermans <fawaka@gmail.com> wrote: > > That's what mg_copy is for, assuming the magic has a copy method > > implemented (I think it doesn't). > > No, that's wrong. It's mg_dup. I hate how confusing those two names are. Iâve just had a look at the code, and I see that mg_dup is defined only under threads. So I donât think it is what I want. And I think you were right the first time. So, thank you. What is the significance of the return value of mg_copy? It seems to be the number of magic structs copied. But it is always called in void context, at least in core. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=108286Thread Previous | Thread Next