>       The code attached works fine on Linux, but not Windows XP

I don't see how it can, with the Windows batch syntax embedded in there.

         
         
>       C:\testsocket>rod.pl
>
>       As you can see above, the script ran the first time but it
>       didn't run afterwards nor did it produce an error.

You only showed it being invoked once.

Your problem seems to be with the looping construct you're using:

>       system("$program");

is not a proper way to loop. At the very least, change it to

exec $0;

but consider putting in a real loop.

- Mark.

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to