Fix RT #74472 Exporter.pm blocks Signal handling
authorTodd Rinaldo <toddr@cpanel.net>
Sat, 3 Jul 2010 13:32:08 +0000 (15:32 +0200)
committerSteffen Mueller <smueller@cpan.org>
Sat, 3 Jul 2010 13:32:08 +0000 (15:32 +0200)
commit9b86bb5cacfb65a283299b005919058f8a61701a
tree9e54b0239c98cb455075ee4eb62e2e30203a8163
parentcae9400fee55b7e628d974f47e5bbebb4180a9c2
Fix RT #74472 Exporter.pm blocks Signal handling

Exporter.pm overrides SIG{__WARN__}. This means It's not possible to
write a test to trap warning events for this error. Since all the line
seems to do is make the warning more verbose, I suggest it not be done
if someone has defined a custom signal. At the moment Test::NoWarnings
cannot trap these warnings because of this.
lib/Exporter.pm