Index: trunk/ippScripts/scripts/detrend_reject_exp.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 13722)
+++ trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 13732)
@@ -1,4 +1,5 @@
 #!/usr/bin/env perl
 
+use Carp;
 use warnings;
 use strict;
@@ -314,5 +315,5 @@
     my $exit_code = shift; # Exit code to add
 
-    warn($msg);
+    carp($msg);
     if ($det_id and $iter and not $no_update) {
 	my $command = "$dettool -adddetrunsummary -det_id $det_id -iteration $iter -code $exit_code";
