in reply to Re: Win32::PerfMon get no instances or objects name
in thread Win32::PerfMon get no instances or objects name

ZIR

You are double right, right because I can get this information by Win32::PerLib and it is not easy, but I have one script to do this.

And second right because Win32::PerfMon is to much easy and simple, that why I'm trying to solve this little problem.

Thanks for your post

Solli Moreira Honorio
Sao Paulo - Brazil
  • Comment on Re^2: Win32::PerfMon get no instances or objects name

Replies are listed 'Best First'.
Re^3: Win32::PerfMon get no instances or objects name
by ZlR (Chaplain) on Mar 16, 2005 at 21:48 UTC
    Hello shonorio,

    Did you find a solution for this yet ?
    I finally got to install Win32::PerfMon. (i used the ppm version available at bribes.org/perl/ppm )
    My finds are : it works if you don't use strict .
    For the record the exact error message with this is :

    Can't use string ("-1") as an ARRAY ref while "strict refs" in use
    The other interesting find is that i can't get any "Instances" values to print, only "Counters" . This sounds really like some "PerfLib hell" to me. The way i understand it, an object can have either counters or instances which in turn can have either one and so on .

    Maybe the module is not fully functional ?
    Can anyone shed more light on this since Win32::Perfmon looks promising but not fully working ?! .