develooper Front page | perl.perl5.porters | Postings from July 2018

Hacking on Perl feature.h help

David Farrell
July 6, 2018 15:26
Hacking on Perl feature.h help
Message ID:
Hey P5P folks,

I'm hacking on the Perl source to get to know it a little better, and I'm
trying to implement a feature that allows require to return false and not
die with "did not return a true value".

I added the feature flag, added a private op to leaveeval. In this commit:

I updated op.c to set the private flag if the feature was enabled.

My problem is, after compiling perl the feature flag is always false, even
though I do "use feature 'require_false';". I added the feature in this

I've compared my code to the signatures feature, and I can't see what I'm
missing. Could anybody help me please?

Thanks in advance

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