From: Paul Saunders Date: Tue, 30 Nov 2010 22:18:40 +0000 (+1300) Subject: Debian now ships Date::Manip 6.x which changes the interface. Turn on 5.x mode. X-Git-Tag: 0.9.5~1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf2fce8e931437f2ad555bcfa7245036d5a43ae1;p=mythtv-status.git Debian now ships Date::Manip 6.x which changes the interface. Turn on 5.x mode. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index b706654..24a9b83 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -8,6 +8,13 @@ # Display the current status of a MythTV system. +# While I would love to enable the 6.xx interface for Date::Manip we may +# still need to run on platforms that only have version 5.x. So we'll +# turn on backwards compatible mode for now. +BEGIN { + $Date::Manip::Backend = 'DM5'; +} + use LWP::UserAgent; use XML::LibXML; use Date::Manip;