summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-10-09 01:38:42 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-10-09 01:38:42 +0000
commitb996531ff85a522ad80354f0616a84c09d9bc85c (patch)
tree049a6c09ee2247717e36555db98102253d0b4495 /pod/perltrap.pod
parent5ba421f60ae90722acb8b7c904ef5f1a0a74023c (diff)
downloadperl-b996531ff85a522ad80354f0616a84c09d9bc85c.tar.gz
perl 5.003_07: pod/perltrap.pod
Clarified that warn() _always_ printed to STDERR, both in perl4 and perl5.
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index bd71ad17a2..3d31173584 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -1111,7 +1111,10 @@ reverse is no longer allowed as the name of a sort subroutine.
# perl4 prints: yup yup yup yup abc
# perl5 prints: abc
-=item * warn() specifically implies STDERR
+=item * warn() won't let you specify a filehandle.
+
+Although it _always_ printed to STDERR, warn() would let you specify a
+filehandle in perl4. With perl5 it does not.
warn STDERR "Foo!";