I am wondering why you are using Dumper() and encode() at all? What happens when you do the following?
use open qw/:std :utf8/;
use strict;
use Lyo::OSLC::CQ::CM;
...
my $client = Lyo::OSLC::CQ::CM->new;
...
my $data = $client->oslcWhere(...);
print $data;
The documentation of the ->oslcWhere() method of the module Lyo::OSLC::CQ::CM (which does not appear to be on CPAN; so I hope I've found the right one via googling) says:
The response from the server is returned in XML format.
So in that case I would use an XML parser such as XML::LibXML to parse it.
|