Commits

Toby Inkster committed b7fb752

squelch more warnings

  • Participants
  • Parent commits 7dc72a2
  • Tags 0.006

Comments (0)

Files changed (2)

lib/RDF/RDB2RDF/DirectMapping.pm

 			$rv->{$table}{keys}    ||= {};
 			$rv->{$table}{refs}    ||= {};
 			
+			no warnings;
 			$rv->{$table}{columns} = [
 				sort { $a->{ORDINAL_POSITION} <=> $b->{ORDINAL_POSITION} }
 				rowmap {

lib/RDF/RDB2RDF/R2RML.pm

 					{ $_->as_ntriples }
 			}
 		$r2rml->objects_for_predicate_list($smc, $rr->termType, $rr->termtype);
+	$termtype //= '';
+	
 	if ($mapping->{about} and $termtype =~ /^blank/i)
 	{
 		$mapping->{about} = sprintf('_:%s', $mapping->{about})