On Tue, Apr 24, 2012 at 12:21 AM, Father Chrysostomos via RT <perlbug-followup@perl.org> wrote: > In fact, in the process of thinking about this and considering where the > attribute could be stored, I’ve noticed that cv_clone doesn’t copy > magic, which means that call checkers added in attribute handlers won’t > apply to closures cloned therefrom. I think this is clearly a bug. But > (and this question is aimed mostly at Zefram) would copying the magic be > the best solution? Is there a standard way of copying magic already > that cv_clone can use? That's what mg_copy is for, assuming the magic has a copy method implemented (I think it doesn't). LeonThread Previous | Thread Next