From: Perl 5 Porters Date: Wed, 9 Oct 1996 01:38:42 +0000 (+0000) Subject: perl 5.003_07: pod/perltrap.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b996531ff85a522ad80354f0616a84c09d9bc85c;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_07: pod/perltrap.pod Clarified that warn() _always_ printed to STDERR, both in perl4 and perl5. --- diff --git a/pod/perltrap.pod b/pod/perltrap.pod index bd71ad1..3d31173 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!";