The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RDF::Simple::Serialiser::NT - Output RDF triples in N-Triples format

SYNOPSIS

Same as RDF::Simple::Serialiser, except when you call serialise(), you get back a string in N-Triples format.

PRIVATE METHODS

render

This method does all the N-Triples formatting. Yes, it is named wrong; but all other functionality is inherited from RDF::Simple::Serialiser and that's how the author named the output function. You won't be calling this method anyway, you'll be calling the serialise() method, so what do you care! In fact, I wouldn't even be telling you about it if I weren't playing the CPANTS game...

PUBLIC METHODS

get_triple_count

Returns the number of triples created since the last call to reset_triple_count().

reset_triple_count

Resets the internal counter of triples to zero.

NOTES

Sorry, there is no Notation3 parser for RDF::Simple. Not yet, anyway.

AUTHOR

Martin 'Kingpin' Thurn, mthurn at cpan.org, http://tinyurl.com/nn67z.

LICENSE

This software is released under the same license as Perl itself.