in reply to Re^4: I wish to monitor and react according to windows "Task Manager"
in thread I wish to monitor and react according to windows "Task Manager"

I count four lines:

#!/usr/bin/perl -w use strict; use Win32::Process::Info; my $pi = Win32::Process::Info->new (undef, 'WMI');

and for me, using Windows 2000 and Perl 5.8.5, the snippet compiles without any problem. I'm using version 1.002 of Win32::Process::Info:

C:\Projekte>perl -MWin32::Process::Info -e "die $Win32::Process::Info: +:VERSION" 1.002 at -e line 1, <DATA> line 164.

Replies are listed 'Best First'.
Re^6: I wish to monitor and react according to windows "Task Manager"
by moked (Beadle) on Dec 29, 2004 at 14:00 UTC
    I am using Perl 5.8.6 on windows XP
    and my Win32::Process::Info is of version 1.003

    Do you think XP might be the problem?
      Do you think XP might be the problem?

      I'm using 5.8.4 on XP with Win32::Process::Info v1.002 and it works okay.

      I have downloaded 5.8.6 and I might get around to installing it later--I'll update and /msg you this if I do.


      Examine what is said, not who speaks.
      Silence betokens consent.
      Love the truth but pardon error.
        I'm using 5.8.6 on XP with Win32::Process::Info v1.002 and it works okay too!