develooper Front page | perl.perl5.porters | Postings from December 2007

Re: 5.11 (or 12) and strict

Thread Previous | Thread Next
Ben Morrow
December 27, 2007 19:54
Re: 5.11 (or 12) and strict
Message ID:

Quoth (Michael G Schwern):
> Steffen Mueller wrote:
< use 5.12 => use strict >
> This came up years ago when we were first discussing Perl 6 (back when it was
> "let's just break a wee bit of compatibility with Perl 5).  Folks wanted
> strict and warnings on by default.
> The points of contention back then were:
> A) one-liners
> B) short, sloppy scripts

This is the unhandled case. I would say +1 provided putting -E on the #!
line can DWIM: that is, it enables all the 5.x features but not strict.
This might be rather hard to implement, though... maybe something like
-E-, which doesn't imply -e?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About