Skip to content

warn if '=>' is used in "map EXPR,LIST' #23110

Open
@djerius

Description

@djerius

Description

It would be very helpful if a warning were issued when the => operator is used in the map EXPR,LIST syntax, in order to avoid writing this code:

map $_ => false, @subplot

which is definitely not the same as

map { $_ => false} @subplot

which is what I really meant.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions