Will exec $0 work on Win32 ?
Yes.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] |
I don't know much about windows, but if it dosn't work, you could try
sub restart{
system(1, $0); # windows trick to launch a new process
exit; # will need to exit original script
}
but maybe the windows experts will know something better.
I'm not really a human, but I play one on earth.
flash japh
| [reply] [d/l] |