mabman has asked for the wisdom of the Perl Monks concerning the following question:
For instance, part of my script opens a text file for output, and then does a "select OUTPUT".
However, after I'm done writing to that file, I want to print some things back to my display, and no longer to the OUTPUT file.
But, even after I do "close OUTPUT", any "print" statement after that causes an error to display about not being able to write to the closed filehandle OUTPUT.
My environment is Win32 with the latest ActiveState release if that changes anything.
I'm sure it's something simple, I'm still a bit of a Perl newbie :)
Thanks,
Glenn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: extremely basic select() question
by Limbic~Region (Chancellor) on Oct 03, 2003 at 22:27 UTC | |
by mabman (Novice) on Oct 03, 2003 at 23:21 UTC | |
|
Re: extremely basic select() question
by sgifford (Prior) on Oct 04, 2003 at 04:37 UTC | |
|
Re: extremely basic select() question
by bart (Canon) on Oct 04, 2003 at 09:47 UTC |