in reply to XML::Simple isn't simple!

Simple solution:
print $ref{'os'}->{'Linux'}->{'score'};
should be:
print $ref->{'os'}->{'Linux'}->{'score'};