Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
more useful options
 
PerlMonks  

Re^2: Inconsistant Net::Ping on XP

by traveler (Parson)
on Nov 23, 2007 at 23:32 UTC ( #652681=note: print w/ replies, xml ) Need Help??


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/DynaLoader.pm line 249. Compilation failed in require at C:\John\tools\netcsvdata.pl line 4. BEGIN failed--compilation aborted at C:\John\tools\netcsvdata.pl 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.


Comment on Re^2: Inconsistant Net::Ping on XP
Download Code
Re^3: Inconsistant Net::Ping on XP
by syphilis (Canon) on Nov 24, 2007 at 02:39 UTC
    Looks like a bungled installation. You've got version 1.87 of HiRes.pm, 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.)

    Cheers,
    Rob
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://652681]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-04-16 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (422 votes), past polls