Report question

Question: How can I make Perl die if a warning is generated?