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-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ebd0af257937d25aadab519ffa48fd937804db3;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 26901da..d68c4f6 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::Simple; use XML::LibXML; use Date::Manip;