The constructors for RDF::Trine::Node::Resource and
RDF::Trine::Node::Literal accept undef as a value, but then later calling
certain methods on the node objects will issue loads of warnings about
concatenating undefined values.
The constructors should check whether they've been passed undef, and then
either:
1. croak; or
2. use the empty string.
I don't really care which. Croaking (or even better: confessing) would
probably help a lot in tracking down errors.