I have a written a script that utilizes the Frontier::Daemon module. Currently, whenever I want to distribute the code to the eight servers it must run on I have to do it by had using scp or ftp. Quite frankly that sucks. One of my co-workers suggested that I make a subroutine that will take in new code, overwrite the currently running script, and then call exec $0, which it supposed to re-run the currently running script. However, it doesn't work. It shows all the debugging messages I have put in place to show that it is restarting, but the code functions no different, just as if the code never got modified. However once I hit control-C and run the script again the new code functions. So my question is how should I go about this? Am I doing something wrong with my exec call? Does Win32 not handle exec correctly? Thanks, Floyd Russell
_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs