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

toke.c: fix =cut detection #22760

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Commits on Nov 19, 2024

  1. toke.c: fix =cut detection

    A line starting with `=cut` is only a cut directive if the next
    character is not a word character. Checking for isALPHA is insufficient
    because POD directives can contain digits (e.g. `=head1`, `=head2`).
    
    Add the same check to the string eval case, where it was missing
    entirely.
    
    Fixes Perl#22759.
    mauke committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    b3d3376 View commit details
    Browse the repository at this point in the history