in reply to Re: %INC and eval use
in thread %INC and eval use

To avoid evaling more than once; AFAIK evals are expensive, aren't they?

Ciao!
--bronto


The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz

Replies are listed 'Best First'.
Re: Re: Re: %INC and eval use
by Juerd (Abbot) on Mar 10, 2004 at 16:45 UTC

    To avoid evaling more than once; AFAIK evals are expensive, aren't they?

    Yes, but why do you use eval in the first place? require is the runtime module loader.

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