develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [PATCH 5.5.670] pseudohash, one more try

Gurusamy Sarathy
March 2, 2000 08:44
Re: [PATCH 5.5.670] pseudohash, one more try
Message ID:
On Thu, 02 Mar 2000 05:31:36 EST, John Tobey wrote:
>Okay.  I've put the compile-time check back in, this time in
>Perl_newASSIGNOP.  pp_aassign walks the op tree when an AV/AVHV is
>found and the op flag indicates a % expression exists somewhere on the
>left side.  Simple hash variables (%foo) are discounted because they
>cannot be pseudohashes.  I believe that false positives (op tree
>walked but no avhv) would be rare.

Haven't tried it, but this certainly looks much better than the
earlier ones.


Sarathy Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About