[rt.cpan.org #145850] doc for Win32::Process::KillProcess() is backward

[email protected] ("eponymous alias via RT") Tue, 10 Jan 2023 04:54:48 -0500
Newsgroups perl.libwin32
Message-ID <[email protected]>
Tue Jan 10 04:54:48 2023: Request 145850 was acted upon.
Transaction: Ticket created by [email protected]
       Queue: Win32-Process
     Subject: doc for Win32::Process::KillProcess() is backward
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=145850 >


In Win32::Process 0.17 at least, the doc for Win32::Process::KillProcess() is wrong.  It says:

$exitcode will be set to the exit code of the process.

when in fact it should say:

The exit code of the terminated process will be set to the value of $exitcode.