develooper Front page | perl.perl5.porters | Postings from November 2012

PL_sawampersand disabled or enabled?

Thread Next
Reini Urban
November 29, 2012 21:31
PL_sawampersand disabled or enabled?
Message ID:
This commit looks wrong to me

commit 1a904fc88069e249a4bd0ef196a3f1a7f549e0fe
Author: Father Chrysostomos <>
Date:   Sun Nov 25 12:57:04 2012 -0800

Disable PL_sawampersand

The problem in perl.h:
# define PL_sawampersand \

pp_hot.c and others:
Unneeded conditionals, as PL_sawampersand is now always true.

    if (       RX_NPARENS(rx)
            || PL_sawampersand
            || (RX_EXTFLAGS(rx) & (RXf_EVAL_SEEN|RXf_PMf_KEEPCOPY))

and the bodies are now always executed, despite the costly computation
of the other checks.

To my untrained eye this looks like PL_sawampersand is now always enabled,
and not replaced by cow.

Reini Urban

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