home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Perl CookbookPerl CookbookSearch this book

15.17. Removing the DOS Shell Window with Windows Perl/Tk

15.17.2. Solution

Add this to the start of your program:

BEGIN {
  if ($^O eq 'MSWin32') {
    require Win32::Console;
    Win32::Console::Free( );
  }
}

15.17.4. See Also

The documentation for the Win32::Console module, which is included with distributions of Perl destined for Microsoft systems



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.