develooper Front page | perl.perl5.porters | Postings from September 2011

Re: [perl.git] branch blead, updated. v5.15.2-280-g9356472

Thread Previous
From:
Father Chrysostomos
Date:
September 9, 2011 08:26
Subject:
Re: [perl.git] branch blead, updated. v5.15.2-280-g9356472
Message ID:
20110909152643.14375.qmail@lists-nntp.develooper.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About