diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-10-09 01:38:42 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-10-09 01:38:42 +0000 |
commit | b996531ff85a522ad80354f0616a84c09d9bc85c (patch) | |
tree | 049a6c09ee2247717e36555db98102253d0b4495 /pod | |
parent | 5ba421f60ae90722acb8b7c904ef5f1a0a74023c (diff) | |
download | perl-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')
-rw-r--r-- | pod/perltrap.pod | 5 |
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!"; |