in reply to Re: Re: Code Efficiency
in thread Code Efficiency

Yes, but what does that have to do with my question?

Abigail

Replies are listed 'Best First'.
Re: Re: Code Efficiency
by Juerd (Abbot) on Mar 25, 2004 at 13:30 UTC

    what does that have to do with any advantage of use strict?

    The advantage of strict is detecting mistakes at compile time. If you predeclare (not declare as late as possible), you lose that benefit in one very common situation: removing the first use.

    To fully take advantage of strict, you should delay declaration until it is *necessary*.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }