Skip to content

[doc] use v5.36, only partially enables warnings #21271

Closed
@druud

Description

@druud

perl5360delta says:

Furthermore, use v5.36 will also enable warnings as if you'd written use warnings.

but the 'once' warning is an exception:

perl -e'use v5.36; no strict; print $i' 
Use of uninitialized value $i in print at -e line 1.

vs:

perl -e'use v5.36; no strict; use warnings; print $i'
Name "main::i" used only once: possible typo at -e line 1.
Use of uninitialized value $i in print at -e line 1.

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