On 11/14/06, Carl Franks <[EMAIL PROTECTED]> wrote:
On 14/11/06, Len Jaffe <[EMAIL PROTECTED]> wrote:

> It has been my understanding that try/catch is built out of eval()s and that
> evals have to compile every time their run.  It has been my inference that
> this would be salower than the perror() method of returning error codes.
> But I don't know for sure.

eval "" ne eval {}

Only string eval is compiled on the fly (runtime).

Block eval is compiled at startup like any other normal code, and has
similar performance to other types of block scopes.


Thanks.  Now I Know.
Len.
Did I really type salower?  and gmail has a spellchecker...ugh.



--
[EMAIL PROTECTED]
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to