projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4b3a7
)
deprecated warnings
author
Ilya Zakharevich
<ilya@math.berkeley.edu>
Fri, 13 Dec 2002 13:47:08 +0000
(
05:47
-0800)
committer
hv
<hv@crypt.org>
Tue, 17 Dec 2002 02:03:58 +0000
(
02:03
+0000)
Message-ID: <
20021213214707
.GA2588@math.berkeley.edu>
p4raw-id: //depot/perl@18315
lib/constant.t
patch
|
blob
|
history
lib/fields.t
patch
|
blob
|
history
diff --git
a/lib/constant.t
b/lib/constant.t
index
a5ffb2c
..
51902eb
100644
(file)
--- 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
adfe60a
..
a505194
100755
(executable)
--- a/
lib/fields.t
+++ b/
lib/fields.t
@@
-10,7
+10,7
@@
BEGIN {
$w++;
return;
}
- print $_[0];
+ print
STDERR
$_[0];
};
}