CGI Cookies on IE7.0, somewhat OT

2006-04-17 Thread Peter Eisengrein
I've written a CGI that used to work on IE6 but does not on IE7. That is, there is a form that writes a cookie which a second page then uses for processing. With IE7 the cookie comes up blank (but still works with Firefox and used to work with IE6). Has anyone played with IE7 and seen

RE: Quick Q

2006-04-17 Thread Chris Wagner
At 11:40 PM 4/16/2006 -0400, Ng, Bill wrote: Actually ... If I'm looking just for a list of directories, I pass /ad and /b to my dir command. Bill opendir DIR, $path; @dirs = grep {-d} readdir DIR; That gives u all the directories in the current directory $path. -- REMEMBER THE

Non-blocking IO?

2006-04-17 Thread Lyle Kopnicky
Hi folks, I'm using the HTTP::Daemon module. Is there any way to do non-blocking IO with that? Thanks. -- Lyle Kopnicky Software Project Engineer Veicon Technology, Inc. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com

Re: Quick Q

2006-04-17 Thread Trevor Joerges
Yah I guess I missed the recursive bit. So then just stick something like I mentioned below into a subroutine, pass in the initial directory path, when you do the -d test push the directory into a global array and make a callback to the same routine passing the new directory path. -

Re: Quick Q [-d test with unicode/wide directory names]

2006-04-17 Thread D D Allen
A quick word of caution about the -d directory operator under Win32 (and -e and opendir and ...). If the Win32 directory name contains unicode / wide characters, the -d operator will always return false. As I understand it, Win32 Perl uses the A (ansi) version of the Win32 API directory calls --

stop a Windows application from within a Perl script

2006-04-17 Thread Dan Jablonsky
Hi all, I have a very simple script that pings the outside world and reboots a router when it gets no answer to the ping anymore; on top of that I need to stop and start again a windows application. I know how to start the app and I know how to stop it if it were unix - to stop the app, just kill

breaking out of a for/foreach loop...

2006-04-17 Thread bruce
ok.. i'm embarassed.. how does one break out of a for/foreach loop?? i thought it was exit/break... pointers? thanks -bruce ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe:

Re: breaking out of a for/foreach loop...

2006-04-17 Thread Foo Ji-Haw
last? bruce wrote: ok.. i'm embarassed.. how does one break out of a for/foreach loop?? i thought it was exit/break... pointers? thanks -bruce ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe:

RE: stop a Windows application from within a Perl script

2006-04-17 Thread Jack D.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Jablonsky Sent: April 17, 2006 8:00 PM To: perl-win32-users@listserv.ActiveState.com Subject: stop a Windows application from within a Perl script Hi all, I have a very simple script that

RE: Non-blocking IO?

2006-04-17 Thread John Serink
Win sockets on Win32? not really, the only choice you have is IO::Select. :) John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Lyle Kopnicky Sent: Tuesday, April 18, 2006 12:22 AM To: Perl-Win32-Users@listserv.ActiveState.com Subject: Non-blocking IO?

Re: Non-blocking IO?

2006-04-17 Thread $Bill Luebkert
Lyle Kopnicky wrote: Hi folks, I'm using the HTTP::Daemon module. Is there any way to do non-blocking IO with that? Thanks. Should work if it's inherited from IO::Handle : $sock-blocking(0) ... You could try (not sure if it works) : setsockopt $sock, IPPROTO_TCP,