in reply to Win32::PerfMon get no instances or objects name
----------
Hello, The win32 perflib data structure is very close to hell ! If your are using Win32::PerfLib ( and not PerfMon as you say) the return value of the method you use has no sense other than failure (0) or success (anything but 0).
Hope this helps,
The interesting results are obtained in a hash that you pass as a reference in the call to the method.
Look at the docs :
Then you have a reference to an hash in $hashref .
The meanings of the keys of this hash are described in the docs.
It gets nasty because most of these keys point to other hashes that in turn point to hashes .
There is seven levels of such hashes in this so-called "structure" ...
... Don't use it if you don't have to ;)
zlr .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::PerfMon get no instances or objects name
by shonorio (Hermit) on Mar 15, 2005 at 17:01 UTC | |
by ZlR (Chaplain) on Mar 16, 2005 at 21:48 UTC |