summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2002-12-13 05:47:08 -0800
committerhv <hv@crypt.org>2002-12-17 02:03:58 +0000
commit803b07a779c719a9176a69ed7eb5685bb9f23042 (patch)
tree8184eb865e374c02d38f9c60d340f7d16aeec02c /lib
parent8c4b3a79c68253730d09878656b5526d4d65ef85 (diff)
downloadperl-803b07a779c719a9176a69ed7eb5685bb9f23042.tar.gz
deprecated warnings
Message-ID: <20021213214707.GA2588@math.berkeley.edu> p4raw-id: //depot/perl@18315
Diffstat (limited to 'lib')
-rw-r--r--lib/constant.t2
-rwxr-xr-xlib/fields.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/constant.t b/lib/constant.t
index a5ffb2ccbe..51902eb4ce 100644
--- a/lib/constant.t
+++ b/lib/constant.t
@@ -10,7 +10,7 @@ use vars qw{ @warnings };
BEGIN { # ...and save 'em for later
$SIG{'__WARN__'} = sub { push @warnings, @_ }
}
-END { print @warnings }
+END { print STDERR @warnings }
use strict;
diff --git a/lib/fields.t b/lib/fields.t
index adfe60a1e4..a5051947b6 100755
--- a/lib/fields.t
+++ b/lib/fields.t
@@ -10,7 +10,7 @@ BEGIN {
$w++;
return;
}
- print $_[0];
+ print STDERR $_[0];
};
}