http://www.perlmonks.org?node_id=569832


in reply to Re: Most infamous "Last words":
in thread Most infamous "Last words":

If you ever use require, you are using eval.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^3: Most infamous "Last words":
by ambrus (Abbot) on Aug 26, 2006 at 21:09 UTC

    That's of course true, but it's more conciled (then, say, with do file). I'm also quite sure I'm sometimes using modules that use string eval somewhere.

    Also, what I hate most is when eval is used more frequently then it should be, like evaluating the same code over and over again when it would be enough to call it just once to compile a subroutine, and require typically avoids this. (Not all uses of eval I hate fall into this category, I also dislike when eval is called just once per run unneccesarily, partly because it makes eval more known and people will use it in worse situations.)