Skip to content

warn $ref in 5.14 #63

@bbrtj

Description

@bbrtj

Since 5.14.0, warn can be used on any reference, and it preserves these references, so it's possible to get more info about them in __WARN__ sig handlers. Before that, they were stringified during warn call. For die this change happened much earlier, but I don't know when exactly. This may be worth noting, as it's pretty hard to find in perldelta.

https://perldoc.perl.org/perl5140delta#Exception-Handling

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions