[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [ID 20000125.006] strict.pm not strict enough
Greg Bacon <gbacon@itsc.uah.edu> wrote
> IOW, C<use strict 'foobletch';> is a nop. I can see how one might
> construe this as a backward compatibility feature, but if a programmer
> casts a spell of protection, Perl ought to thump back for using false
> magic.
This is a deliberate feature - see the last time this was discussed
on p5p. The reasob is so you can write in your module
use strict 'new_feature_introduced_in_perl6';
and still have the module usable under perl5 (but without the new check
of course).
Mike Guy
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]