> > I would propose that the C<grep> operation should short-circuit if the
   > > block throws an exception, with the value of the expection determining
   > > whether the final invocation of the block should accept the element it
   > > was filtering:
   > 
   > Otherwise nice but until now die() has been a serious thing, now it's
   > being downgraded to "oh, well, never mind (the rest)" status...

No. C<die> has for a long time now been the exception throwing mechanism
as well. Nowadays C<die> is only "serious" if you're too lazy to catch the
exceptions it throws.

This proposal just suggests that C<grep>, C<map>, etc. should catch
exceptions emanating from their control BLOCKs and act on them. :-)

Damian

Reply via email to