Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Local Module for Time-Hires?

by s_m_b (Acolyte)
on Jul 01, 2007 at 08:21 UTC ( [id://624282]=note: print w/replies, xml ) Need Help??


in reply to Re: Local Module for Time-Hires?
in thread Local Module for Time-Hires?

"Time::HiRes object version 1.49 does not match $Time::HiRes::XS_VERSION 1.86 at C:/Perl/lib/DynaLoader.pm line 253."

Looks like its a problem with IIS5.

I stripped out and reinstalled AP 820 and changed the code from eval { require Time::HiRes; import Time::HiRes qw(time); }; to use Time::HiRes qw(time); seems fine now.

Replies are listed 'Best First'.
Re^3: Local Module for Time-Hires?
by ikegami (Patriarch) on Jul 03, 2007 at 20:54 UTC

    Time::HiRes object version 1.49 does not match $Time::HiRes::XS_VERSION 1.86 at C:/Perl/lib/DynaLoader.pm line 253.

    Perl was finding the .pm for v1.49 and the .dll for v1.86. It was a bad install or a bad lib path.

    eval { require Time::HiRes; import Time::HiRes qw(time); };

    I think you need to overload internals at compile-time, so you'd have to use

    BEGIN { eval { require Time::HiRes; import Time::HiRes qw(time) } }
    or
    BEGIN { eval 'use Time::HiRes qw(time)' }

    By removing the eval, you removed the ability to fall back onto the lower-precision CORE::time if Time::HiRes isn't installed.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2026-03-06 05:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.