Thank you for your response. I wish that I could be doing this on linux, but the program I am monitoring is a poker program that only runs on windows. I am trying to use data on the fly, although the program will log the data for me after each hand is done, I would like to have access as these things happen, because if you miss them, there is no way in the program to see that info until the hand is over, and the info is (for the purposes of playing that hand) useless.

I will agree that I have not formulated the problem very well, and I appreciate your input because I needed some insight in certain areas especially because I do not know much about how programs use memory, and after all I am a linux user so this win32 stuff makes little sense to me, making win32 related reading (possibly) harder to digest.

Now, I do have more experience in some other languages, but I did not want it to sound like I was discouraged from using perl. The truth is that although sometimes I feel like I am making no progress and trying to learn too much for my young mind, I do believe that learning perl here will payoff in spades due to my real home being on linux and other unix related/based systems. I could of course be wrong at this too since the win32 part of learning perl could be a completely different 'monster' and only time or possibly someone with more experience could let me in on that.

Thank you again for your input and I hope this helps clarify my problem.

I only want to monitor any memory of a specific pid and print in real time to the screen any lines that start with Dealer:

I know that memory is not in a line by line format which makes this harder, but hopefully they are ended with newlines or something.

I might be in over my head but I am willing to learn, the documentation on win32::process::memory just seems really difficult and I am still constantly reading the books I have plus oreilly's learning perl (I think it is win32 based but I am not completely sure)


In reply to Re^2: Running in circles trying to find helpful documentation (Win32::process::memory) by lou.cal
in thread Running in circles trying to find helpful documentation (Win32::process::memory) by lou.cal

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.