>I was hoping someone could point me in the right direction. I have a script
>that will run for long periods of time (checking a url every once in a while
>to make sure it is up) on a Windows98 machine. The script works fine, but it
>runs in a dos window. Is there a way in which I could invoke the script and
>have the dos window with the script running in the background?

You could try the following:

   use Win32::GUI;

   # hwnd is a handle to a window - basically, window's
   # way of keeping track of it's program windows...
   $hwnd = GUI::GetPerlWindow();

   # comment this to see error messages in a dos window
   # otherwise, this will hide the blasted thing...
   GUI::Hide($hwnd);

-- 
      ICQ: 2927491      /      AOL: akaMorbus
   Yahoo: morbus_iff    /  Jabber: [EMAIL PROTECTED]
   [EMAIL PROTECTED]   /   http://www.disobey.com/

Reply via email to