develooper Front page | perl.perl6.language | Postings from October 2006

Re: "Don't tell me what I can't do!"

Thread Previous | Thread Next
From:
Dave Whipp
Date:
October 2, 2006 10:25
Subject:
Re: "Don't tell me what I can't do!"
Message ID:
20061002172551.31827.qmail@lists.develooper.com
Smylers wrote:
>>use strict;
> 
> That's different: it's _you_ that's forbidding things that are otherwise
> legal in your code; you can choose whether to do it or not.

Which suggests that the people wanting to specify the restrictions are 
actually asking for a way to specify additional strictures for users of 
their modules, which are still controlled by /[use|no] strict/. While it 
is true that any module is free to implement its c<import> method to 
allow its users to specify a level of strictness, it would be nice to 
abstract this type of thing into the "use strict" mechanism.

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