Приглашаем посетить
Крылов (krylov.lit-info.ru)

7.4 Perl 5.001

Previous Table of Contents Next

7.4 Perl 5.001

Added the $SIG{__DIE__} and $SIG{__WARN__} handlers, closures, and Exporter tags.

7.4.1 Upgrading to Perl 5.001

If the application goes to unusual lengths to find out whether it has emitted a warning or an exception, it might benefit from using the $SIG{__WARN__} or $SIG{__DIE__} handlers. See perlvar. If it uses global variables to pass data to anonymous subroutines, consider rewriting to use closures.

    Previous Table of Contents Next