From 5ebd0af257937d25aadab519ffa48fd937804db3 Mon Sep 17 00:00:00 2001 From: Paul Saunders Date: Wed, 1 Dec 2010 11:18:40 +1300 Subject: [PATCH] Debian now ships Date::Manip 6.x which changes the interface. Turn on 5.x mode. --- bin/mythtv-status | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 2.30.2