in reply to Should code that does not use strict even be considered here?

Consider a post like this:

What does the colon mean in this line of code?

$foo = $bar ? 42 : 69;

To refuse to answer until the supplicant adds a pointless "use strict" would be silly.

And then there's also the issue that not all the code posted here is in perl. There's C, and shell, and python, and ...

Replies are listed 'Best First'.
Re^2: Should code that does not use strict even be considered here?
by parv (Parson) on Apr 09, 2009 at 10:41 UTC
    And then there's also the issue that not all the code posted here is in perl. There's C, and shell, and python, and ...

    Do you actually think that OP wanted to have use strict; in non-perl code too?

      Well, he did say "Any posting asking for help on a particular piece of code that does not contain a 'use strict' should get exactly one answer" :-)

      But no, of course not. I don't believe he's that stupid. But it was still worth pointing out as an aside after my main point. Lots of people are under the mistaken belief that anything in <code> tags here is perl.