I have some working code from a perl 5.6.1 system that still works fine today on that system but when I try to move the code to a new server running perl 5.10 it fails and outputs:
Cannot decode string with wide characters at D:/Perl/lib/Encode.pm
I narrowed it down to this section of code:
$xml = new XML::Simple;
$data = $xml->XMLin($xmlResults);
The script is reading in XML data from a webservice.
What changed in ActiveState Perl? How do I get around this?
Thanks