FAQ

On Tue, 02 Nov 1999 23:41:27 +0100, Raphael Manfredi wrote:
1 open(STDERR, '>std.err');
2 warn "test #1";
3 close STDERR;
4 open(STDERR, '>std2.err');
5 warn "test #2";
6 die "fatal";
7 close STDERR;

when ran produces two files:

-rw-r--r-- 1 ram users 23 Nov 2 23:30 std.err
-rw-r--r-- 1 ram users 0 Nov 2 23:30 std2.err

The first contains

1 test #1 at bug line 2.

as expected. The second one is empty!
FYI, not so in 5.005_62.


Sarathy
gsar@ActiveState.com

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedNov 2, '99 at 10:43p
activeNov 2, '99 at 11:14p
posts2
users2
websiteperl.org

People

Translate

site design / logo © 2022 Grokbase