in reply to RE: Win32::MemoryInfo
in thread Win32::MemoryInfo

Whew! Sounds like I know what I'm doing this morning. All great suggestions, and they should be pretty easy to implement.
I do have one question about your suggestion of letting the user specify what values are wanted back. The only thing I can think of off the top of my head is to have the user fill a hash with certain values, i.e. "TotalPhysMem" => 0, "AvailPhysMem" => 0, etc. Then have the function only fill in the values that are present in the hash. How do I get the hash to the function? Do I need to change the prototype from
@returns = MemoryInfo();

Negaterd character class uber alles!