Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: wishlist: die-on-failure for built-ins

by Transient (Hermit)
on Apr 19, 2005 at 18:36 UTC ( [id://449378] : note . print w/replies, xml ) Need Help??


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

Fatal provides the error handling if you want it...

If the symbol :void appears in the import list, then functions named later in that import list raise an exception only when these are called in void context--that is, when their return values are ignored.