swh/Perl-SPARQL-client-library — pull request #1 by davechallis (2012-05-28 10:15:04+00:00)
Title: Fixed rendering of typed/language literals.

$val->{'literal'}->[0] is parsed from XML as either a string or a hash, changes allow output rendering to cope with either (uses perl's ref function, not sure if there's a better way though!).

Renders plain literals as: "foo"

Typed literals as: "foo"^^

Literals w. language: "foo"@en