start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.64 ExtUtils::testlib Chapter 8
Standard Modules
Next: 8.66 Fcntl
 

8.65 Fatal

Provides a way to replace functions that return false on failure with equivalents that die instead, so you can use the functions without having to test the return values explicitly. Fatal reports errors via die ; you can trap them with $SIG{__DIE__} if you want to take some action before the program exits. You can use Fatal for both user-defined functions and Perl core operators except exec and system .


Previous: 8.64 ExtUtils::testlib Perl in a Nutshell Next: 8.66 Fcntl
8.64 ExtUtils::testlib Book Index 8.66 Fcntl

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.