develooper Front page | perl.perl5.porters | Postings from September 2014

Re: Versioned 'strict'

Thread Previous | Thread Next
Paul "LeoNerd" Evans
September 13, 2014 13:01
Re: Versioned 'strict'
Message ID:
On Fri, 12 Sep 2014 21:31:27 -0400
Ricardo Signes <> wrote:

> The other thing we can't do without opening a can of worms, I think,
> is "use strict ':latest'", because even if strictures are always
> safely addative, when you need to say, later, "no strict 'time'" but
> only on the right versions, you're in a weird place.

Absolutely - you couldn't ask for the "latest" set of strictness
because that might include new flags that your code wasn't prepared for
and would fail. All you'd be able to ask for is some version between
$ANCIENT and the current version you were running on.

Paul "LeoNerd" Evans  |

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