Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doop.c Use new utf8_to_uv_or_die() #22931

Open
wants to merge 1 commit into
base: blead
Choose a base branch
from

Conversation

khwilliamson
Copy link
Contributor

This replaces the older forms. For two of the instances, this gives equivalent functionality, where they croaked if an operand to tr/// was malformed. For the other instances, it didn't croak, but now does. This makes the behavior consistent for tr///, as all the affected instances are supposed to be equivalent. For performance reasons, one or another of the functions would be called, and depending on which one the same input would croak or not.

  • This set of changes does not require a perldelta entry.

This replaces the older forms.  For two of the instances, this gives
equivalent functionality, where they croaked if an operand to tr/// was
malformed.  For the other instances, it didn't croak, but now does.
This makes the behavior consistent for tr///, as all the affected
instances are supposed to be equivalent.  For performance reasons, one
or another of the functions would be called, and depending on which one
the same input would croak or not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant