2009/10/27 Abigail <abigail@abigail.be>: >> If we add a new strict subpragma, like C<use strict >> "stringificationofrefs">, we'll have problems, because people will >> want to disable it locally by doing C<use strict; no strict >> "stringificationofrefs">, and that would be a fatal error on earlier >> perls. > > I would prefer a new pragma as well, but I don't really understand your > argument. After all, if it's added in a new pragma, people will write > 'use newpragma', and that will fail on older perls as well, won't it? Not exactly : to use a new pragma, you have to modify your code, and implicitly state you require perl >= 5.X. Your old code will run unmodified. But, if we change the meaning of use strict, and if that forces you to modify your code to cope with a new strict subpragma, you make it dependent on perl >= 5.X without really needing to. (I was assuming that C<use strict> continues to enable all strict subpragmas)Thread Previous | Thread Next