Re: [perl.git] branch blead, updated. v5.15.2-280-g9356472
Nicholas Clark wrote:
> chdir, chmod and chown also accept references to typeglobs, so is this also
> needed?
Yes, but I wanted to do it in a separate commit, as that part is not a
regression.
The glob(ref) deref logic is spread out all over the place. I think
we should add a macro, so we can do this:
if (gv = MAYBE_DEREF_GLOB(sv)) /* calls get-magic */
{
}
else { /* avoid magic here */
}
Where would it go? sv.h? gv.h? pp.h?
Thread Previous