All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

Please Log In to Continue

The annoying workaround is to do
$duration->days * 24 + $duration->minutes
or something similar.
I'd rather it gave me that automatically and warned about any potential consequences, either that or worked it out correctly.
Also it's called DateTime::Duration not interval iirc