develooper Front page | perl.perl5.porters | Postings from June 2021

Re: use v5.36; use warnings;

Thread Previous | Thread Next
From:
Yuki Kimoto
Date:
June 22, 2021 01:10
Subject:
Re: use v5.36; use warnings;
Message ID:
CAExogxNL6o8m4CoiPMypL5H2uSDnSMgWUsMCz4m+=czwK9XBgQ@mail.gmail.com
2021-6-22 4:06 Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:

> On Mon, Jun 21, 2021, at 12:04 AM, Yuki Kimoto wrote:
>
>
> 2021-6-19 4:25 Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:
>
>
>    - but some people had already been writing "use strict; use warnings;
>    use v5.10.0" and we didn't want to hurt them
>
>
> I want more examples for conversation. I want to know both current
> behavior and desirable behavior.
>
>
> I would like to establish that the standard practice with a question like
> this is for the poster (you, here) to provide the answers that are easy to
> provide.
>
> If you're asking about what *I *think is desirable, you can't answer
> that, but you could easily determine the current behavior of each of those
> examples to include in your post.
>
> --
> rjbs
>

I write about current behaviors. Is this OK?

[1]
use v5.10;
use strict;
use warnings;

Current: strict enable, warnings enable.

[2]
use strict;
use warnings;
use v5.10;

Current: strict enable, warnings enable.

[3]
use strict;
use warnings;
use v5.36;

[4]
use v5.36;
use strict;
use warnings;

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About