Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2016-10-26 17:34 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (345 votes). Check out past polls.