]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Debian now ships Date::Manip 6.x which changes the interface. Turn on 5.x mode.
authorPaul Saunders <darac@darac.org.uk>
Tue, 30 Nov 2010 22:18:40 +0000 (11:18 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Tue, 30 Nov 2010 22:23:50 +0000 (11:23 +1300)
bin/mythtv-status

index b7066544334e2a8c58e50b0539565481c38417cc..24a9b83d75001329a27922d8607e4261d2d63b8e 100755 (executable)
@@ -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;