have a need to retrieve the handle, (processid)

I'm not wishing to be pedantic, but a handle to a process and the PID (process id) are not the same thing, and I would not wish you to be mislead into thinking they are interchangeable.
A PID is a system-wide number which uniquely identifies a process - nothing more. A Handle is process-specific (like a file descriptor on UNIX), and gives the owner security permissions to do something with or to the object to which it refers. For example, synchronize (WaitForSingleObject). A handle can only be obtained after a security check and by specifying the actions required. Anyone can get a PID, but you can't do much with it.
What's more, a process (or thread) will not die until all handles open to it are closed. Failure to close a process handle results in a so-called zombie process (on Windows these are difficult to detect). So if you are getting handles, make sure you close them as soon as you can, although they will be closed when you exit. Win32::Proc::Create is an example where a process handle is obtained.

In reply to Re: access handle from @info using win32 process info by cdarke
in thread access handle from @info using win32 process info by grashoper

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.