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

Re: 5.11 (or 12) and strict

Thread Previous | Thread Next
From:
Ben Morrow
Date:
December 27, 2007 19:54
Subject:
Re: 5.11 (or 12) and strict
Message ID:
3qod45-a37.ln1@osiris.mauzo.dyndns.org

Quoth schwern@pobox.com (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?

Ben


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