Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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(); to ? Guildenstern Negaterd character class uber alles! In reply to (Guildenstern) REx2: Win32::MemoryInfo
by Guildenstern
|
|