Skip to content

Conversation

jkeenan
Copy link
Contributor

@jkeenan jkeenan commented Oct 5, 2025

Since 887d89f (Feb 22 2011), 'perldoc -f goto' has claimed:

    "goto EXPR" is exempt from the "looks like a function" rule.
    A pair of parentheses following it does not (necessarily)
    delimit its argument. "goto("NE")."XT"" is equivalent to
    "goto NEXT".

However, no test was added to demonstrate this claim; provided herewith.

Fixes: GH #23806

In passing: Remove trailing whitespace from several existing lines.


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

Since 887d89f (Feb 22 2011), 'perldoc -f goto' has claimed:

        "goto EXPR" is exempt from the "looks like a function" rule.
        A pair of parentheses following it does not (necessarily)
        delimit its argument. "goto("NE")."XT"" is equivalent to
        "goto NEXT".

However, no test was added to demonstrate this claim; provided herewith.

Fixes: GH Perl#23806

In passing: Remove trailing whitespace from several existing lines.
@jkeenan
Copy link
Contributor Author

jkeenan commented Oct 6, 2025

Closed in favor of GH #23817.

@jkeenan jkeenan closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants