in reply to Re: use strict; before/after use warnings;
in thread use strict; before/after use warnings;

There probably is no right answer, but I always use the opposite. I think that at one time, I considered 'strict' more important. This might be an interesting topic for the 'Voting Booth'.
Bill
  • Comment on Re^2: use strict; before/after use warnings;

Replies are listed 'Best First'.
Re^3: use strict; before/after use warnings;
by Eily (Monsignor) on Nov 06, 2019 at 15:16 UTC

    This might be an interesting topic for the 'Voting Booth'.
    ++ I was thinking the same thing. You can submit your idea here if you want. Although since you can also have an implicit strict by selecting a version, and use the shebang options to enable warnings that's a lot of different ways to do basically the same thing.
    #!/usr/bin/perl -W # warnings enabled globally on previous line use v5.20; # implicit use strict; use strict; # No impact use warnings; # No impact

    Personally it's always strict then warnings (in that order), sometimes preceded by the version (I always have an explicit strict even when implicitly activated).

    Edit: whoops, choroba already submitted the poll idea

      Node 11108370 if anyone's looking for it.

      $_="msh210";$"=$\;@_=@{[split//,uc]}[2,0];$_="@_$\1";$\=$/;++$_[0]for$...1;print lc substr crypt($_,"@_"),1,6