PDA

View Full Version : Error using XML:Simple -- version is incorrect??



oreillymj
2007-07-18, 10:42
Anyone know why I got this error using the latest version of Perl on Windows when trying to run Slimserver using the perl interpreter.
XML:Simple has this version string

$VERSION = '2.16';

on line 101-102 of Slimserver.pl I see the following

# Only use XML::Simple 2.15 an above, which has support for pass-by-ref
use XML::Simple qw(2.15);

.. but when I run Slimserver.pl using perl I get the following error

C:\Perl\lib>perl -w "C:\Program Files\SlimServer65\server\slimserver.pl"
XML::Simple version 2.15 required--this is only version 2.12 at C:/Perl/lib/Exporter/Heavy.pm line 121.
BEGIN failed--compilation aborted at C:\Program Files\SlimServer65\server\slimserver.pl line 102.


The only way I could get Slimserver to start was to change the required version in Slimserver.pl down to 2.12 as a hack.

I've searched both my perl\lib directory and the Slimserver CPAN dir for the string 2.12 and cannot find it.