in reply to Perl Console Window
I have not heard of this "Windoze NT". I doubt there is a Perl module that hooks into that. I have heard of an operating system called "Windows NT" though, for which ActiveState puts out a Perl distribution. They have excellent documentation available online and included in the distribution on the available modules for hooking into the Windows API, and probably the "hide the console" question is answered in their FAQ, since every third Perl/Tk programmer targetting Windows wants to hide the console, and probably many others writing slightly more ethical services don't want their taskbar all cluttered up.
But if you just want run of the mill spyware, why don't you buy one of several existing packages on the market rather than writing your own?