Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Calculation of the time overlapping

by vagabonding electron (Chaplain)
on Mar 27, 2012 at 18:33 UTC ( #961994=note: print w/replies, xml ) Need Help??

in reply to Re: Calculation of the time overlapping
in thread Calculation of the time overlapping

Thank you very much, this sounds encouraging !
Unfortunately my ActiveState installation bites me again.
There is no DateTime::Span module there available, only DateTime::Span::Common. If I start with DateTime::Span::Common (just a use declaration to test) it dies "Can't locate DateTime/ in @INC ..."
Trying to install with cpan from the command line brings an error message
"Warning: Cannot install DataTime::span, don't know what it is. Try the command i /DataTime::span/ to find objects with matching identifiers.
There is not DateTime::Duration module, only Datetime::Duration::Fuzzy.
:-( Update: Sorry! There is DataTime::Duration there, sorry, I have used the false script.

Replies are listed 'Best First'.
Re^3: Calculation of the time overlapping
by Anonymous Monk on Mar 27, 2012 at 18:41 UTC
Re^3: Calculation of the time overlapping
by Anonymous Monk on Mar 27, 2012 at 18:44 UTC

      Thank you very much!

      The link to the ppm repository and the hint that DateTime::Span is in the DateTime::Set distribution did it!
      Now have run the new script - in fact your script - against the "real life" data from the first post.
      Start: Tue Mar 27 21:12:58 2012 End: Tue Mar 27 21:13:34 2012
      That means over 15 times faster!
      Many many thanks again!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961994]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2018-06-18 21:13 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.