in reply to stderr, local block and redirection

What happens when you check the return value of open by adding the following to line 10?

or die $!;

Dave

Replies are listed 'Best First'.
Re^2: stderr, local block and redirection
by jfroebe (Parson) on Sep 13, 2006 at 17:08 UTC

    Same error message. :( Looks like I wrongly assumed that the STDERR was being closed. My drill sgt from back in 1990 told me never to assume anything. I knew I should have listened ;-)

    Jason L. Froebe

    Team Sybase member

    No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1