Subject: | Simple triple croaks |
The module croaks when I try to serialize a simple triple without any
namespaces. Here is a testcase:
#!/usr/bin/perl
use RDF::Simple::Serialiser::N3;
print "Version: " . $RDF::Simple::Serialiser::N3::VERSION . "\n";
@triples = ( [ 'urn:x-my:object', 'urn:x-my:property', \'string' ] );
$expected = '<urn:x-my:object> <urn:x-my:property> "string" .';
my $n3 = RDF::Simple::Serialiser::N3->new->serialise( @triples );
# croaks with
# Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.10.0/RDF/Simple/Serialiser/N3.pm line 53.