On Thursday, January 23, 2003, at 02:12  PM, Daniel Stillwaggon wrote:
Apologies for the OT question (I am lazy, and since I'm already subscribed to this perl oriented list...). Does anybody know of references on 'eval'?
No - other than typing 'perldoc -f eval' at your terminal prompt, it's mainly just stuff in mailing lists.

specifically, is 'eval' useful for optimizing loops (the docs say that the eval statement is only compiled once)?
No. Normal Perl statements are also only compiled once, it's no different with eval. The docs are just contrasting eval-EXPR with eval-BLOCK.

-Ken



Reply via email to