Index: trunk/ippScripts/scripts/detrend_reject_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 13722)
+++ trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 13732)
@@ -7,4 +7,5 @@
 #    not at the imfile level. 
 
+use Carp;
 use warnings;
 use strict;
@@ -512,5 +513,5 @@
     my $exit_code = shift; # Exit code to add
 
-    warn($msg);
+    carp($msg);
     if ($det_id and $iter and $exp_tag and not $no_update) {
 	my $command = "$dettool -addresidexp -det_id $det_id -iteration $iter -exp_tag $exp_tag -code $exit_code";
