perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: [mp2] one more pass on mp2/apr read() functions
Date Wed, 09 Jun 2004 19:27:13 GMT
Stas Bekman <stas@stason.org> writes:

[...]

> > but somehow I'd rather be attaching handlers to exception classes
> > (like Java & C# do), not dispatching
> > on the value of $@ directly.
> 
> Example?

perl's eval {} is very slow, and doesn't easily
map to Java's try/catch(ExceptionClass err).  It's
not something modperl can emulate (Perl6 will
have it IIRC), though.


-- 
Joe Schaefer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message