in reply to Re: Re: Extra strict subs
in thread Extra strict subs

Thanks. I hadn't thought about restricting the check to certain blocks, that makes sense. Not breaking CPAN is a Good Thing®.

About modifying the compiler (which is what I assume you meant, refering to toke.c, etc), when strict was originally introduced, were compiler mods needed?

BTW, what is the current behavior of strict in regard to nonexistant subs?

Replies are listed 'Best First'.
Re: Re:^3 Extra strict subs
by Elian (Parson) on Nov 27, 2002 at 00:16 UTC
    Strict came in with perl 5.000, so it's been there from the beginning. (Well, beginning of perl 5, at least) It does interact with the compiler, setting bits that get put in the flag bits of parts of the optree, and the compilation code does pay attention to it.

    At the moment, strict doesn't care about nonexistant subs.