[Slim-Checkins] r10159 - in /trunk: platforms/debian/control server/slimserver.pl

dsully at svn.slimdevices.com dsully at svn.slimdevices.com
Tue Oct 3 14:12:24 PDT 2006


Author: dsully
Date: Tue Oct  3 14:12:23 2006
New Revision: 10159

URL: http://svn.slimdevices.com?rev=10159&view=rev
Log:
Bug: N/A
Description: Require XML::Simple v2.15

Modified:
    trunk/platforms/debian/control
    trunk/server/slimserver.pl

Modified: trunk/platforms/debian/control
URL: http://svn.slimdevices.com/trunk/platforms/debian/control?rev=10159&r1=10158&r2=10159&view=diff
==============================================================================
--- trunk/platforms/debian/control (original)
+++ trunk/platforms/debian/control Tue Oct  3 14:12:23 2006
@@ -23,7 +23,7 @@
  libtie-cache-lru-expires-perl (>= 0.54-1), libxml-parser-perl, libfile-find-rule-perl,
  libdata-vstring-perl, libalgorithm-c3-perl, libclass-c3-perl, libproc-background-perl,
  libdbix-class-perl, libclass-inspector-perl, libxml-writer-perl, libxml-xspf-perl,
- libdata-dump-perl, libmpeg-audio-frame-perl, libnet-upnp-perl,
+ libdata-dump-perl, libmpeg-audio-frame-perl, libnet-upnp-perl, libxml-simple-perl (>= 2.15-1),
  libdbix-migration-perl, libyaml-syck-perl (>= 0.41-1), mysql-server-4.1 | mysql-server-5.0,
  libmysqlclient14-dev | libmysqlclient15-dev, mysql-client-4.1 | mysql-client-5.0,
  flac, sox, adduser

Modified: trunk/server/slimserver.pl
URL: http://svn.slimdevices.com/trunk/server/slimserver.pl?rev=10159&r1=10158&r2=10159&view=diff
==============================================================================
--- trunk/server/slimserver.pl (original)
+++ trunk/server/slimserver.pl Tue Oct  3 14:12:23 2006
@@ -97,7 +97,9 @@
 # Force XML::Simple to use XML::Parser for speed. This is done
 # here so other packages don't have to worry about it. If we
 # don't have XML::Parser installed, we fall back to PurePerl.
-use XML::Simple;
+# 
+# Only use XML::Simple 2.15 an above, which has support for pass-by-ref
+use XML::Simple qw(2.15);
 
 eval {
 	local($^W) = 0;      # Suppress warning from Expat.pm re File::Spec::load()



More information about the checkins mailing list