marinersk has asked for the wisdom of the Perl Monks concerning the following question:
I've worked around the problem by using ourinstead of my to define the console control object scalar, but this doesn't feel like a graceful solution. Namespace pollution, anyone?
I've tried to use the Win32::Console::free()and similar methods to get it to release the object more gracefully in hopes it would return console behavior to its default, but the results are the same as simply letting the object go out of scope -- default behavior is not reinstated and the results are unusuable.
I'm curious if this is a one-way street; in other words, once you start using Win32::Consoleto do console work, are you simply stuck with it until the end of the script?
Anyone with Win32::Consoleexperience out there have any insight to share on the matter?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Recovering From Win32::Console
by BrowserUk (Patriarch) on Jun 05, 2003 at 21:43 UTC | |
by marinersk (Priest) on Jun 05, 2003 at 22:20 UTC | |
by BrowserUk (Patriarch) on Jun 05, 2003 at 22:58 UTC | |
|
Re: Recovering From Win32::Console
by guha (Priest) on Jun 06, 2003 at 13:52 UTC |