Changes between Version 15 and Version 16 of Perl


Ignore:
Timestamp:
10/19/06 10:34:20 (17 years ago)
Author:
atzm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Perl

    v15 v16  
    439439 
    440440=== 予期せぬエラーにスタックトレースをつけてくれ宣言 === 
    441  * die を置き換えてやれば良い 
     441 * die や warn を置き換えてやれば良い 
    442442{{{ 
    443443#!perl 
    444444use Carp; 
    445 $SIG{__DIE__} = \&Carp::confess; 
    446 }}} 
     445$SIG{__DIE__}  = \&Carp::confess; 
     446$SIG{__WARN__} = \&Carp::cluck; 
     447}}}