On Wed, Jul 30, 2003 at 02:41:18PM -0700, David Hummel wrote: > On Wed, Jul 30, 2003 at 02:22:22PM -0700, Micah J. Cowan wrote: > > > > On Wed, Jul 30, 2003 at 01:47:37PM -0700, David Hummel wrote: > > > > > > On Wed, Jul 30, 2003 at 09:31:13AM -0700, Micah J. Cowan wrote: > > > > > > > > The only things I *really* wish I could get with Perl is: I wish > > > > it had exceptions, > > > > > > Perl does have exception handling via eval. You can eval your block > > > or expression, and then check $@ for the exception. > > > > I'm aware of this. It's a hack and it sucks. But it is better than > > nothing. > > I agree. The eval EXPR form should definitely be avoided, > but eval BLOCK is usually OK.
It still feels like a hack to me, and damn ugly. But without anything nicer, it is frequently necessary in conscientious coding. -Micah _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
