in reply to Has anyone here used PerfLib.pm successfully?

I copy/pasted your code and it just worked, so I'll wager that it is no bugs as such.

I can think of two things:

First, I'm pretty sure this only works on NT type machines (NT/2000/XP), so if you are using anything else, you are probably out of luck.

And second, if you are using ActiveState Perl, maybe you should try installing it via PPM instead (though I thought it was already included there). Just in case the other way messed it up somehow. That is, assuming you did install it without PPM. :)


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.
  • Comment on Re: Has anyone here used PerfLib.pm successfully?

Replies are listed 'Best First'.
Re2: Has anyone here used PerfLib.pm successfully?
by Solo (Deacon) on Sep 17, 2002 at 16:26 UTC
    Heh, I didn't even try to run the code verbatim until you said it worked. My tendancy is to use strict and make it work under that before I even really look at it. I wonder if that's good lazy or bad lazy...

      Oh, that is definetely good lazy. But in a case like this, it might be useful to first see if you get the same errors using the exact same code, then work from there.

      I never do anything without strict either, usually, and that would have been my next move. :)


      You have moved into a dark place.
      It is pitch black. You are likely to be eaten by a grue.