in reply to Re: Inconsistant Net::Ping on XP
in thread Inconsistant Net::Ping on XP

I stuck in the new version with ppm. Perl clearly finds it, but can't use it. I get the error
Time::HiRes object version 1.52 does not match $Time::HiRes::XS_VERSIO +N 1.87 at C:/Perl/lib/ line 249. Compilation failed in require at C:\John\tools\ line 4. BEGIN failed--compilation aborted at C:\John\tools\ line +4.
So this seems to mean that the 1.87 pm file is trying to use some object version of the old 1.52. I've not had this error before? What do I do? Thanks.

Replies are listed 'Best First'.
Re^3: Inconsistant Net::Ping on XP
by syphilis (Bishop) on Nov 24, 2007 at 02:39 UTC
    Looks like a bungled installation. You've got version 1.87 of, but version 1.52 of HiRes.dll.

    PPM doesn't usually produce this sort of problem ... try doing the 'ppm install Time-HiRes' again. (You might need to ppm remove Time-Hires first.)

Re^3: Inconsistant Net::Ping on XP
by BrowserUk (Pope) on Nov 24, 2007 at 02:43 UTC
    I stuck in the new version with ppm.

    PPM doesn't (usually) make that kind of mistake, so perhaps you would explain what you actually did?

    Where did you find the 1.87 ppd? What command(s) did you use to install it?

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Well, this was educational... It seems that Time::HiRes normally lives in lib since it comes with perl. ppm installs to site/lib. So perl was using the old one. I renamed that copies in the lib directory and perl now uses the correct (new) library. Thanks all!