in reply to wishlist: die-on-failure for built-ins

use Fatal;

Unfortunately, it only works for overridable builtins.

After Compline,
Zaxo

  • Comment on Re: wishlist: die-on-failure for built-ins

Replies are listed 'Best First'.
Re^2: wishlist: die-on-failure for built-ins
by tlm (Prior) on Apr 19, 2005 at 04:25 UTC

    Very cool. Thank you!

    I did notice that the docs for Fatal are somewhat off when they say that overridable built-ins can be modified through this module. In fact Fatal can handle only those overridable built-ins foo such that prototype('foo') is defined; there are overridable built-ins for which this is not the case, and therefore will cause Fatal to fail at compile time.

    the lowliest monk