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

NAME

RDF::Trine::Exporter::CSV - Export RDF data to CSV

VERSION

This document describes RDF::Trine::Exporter::CSV version 0.132_03

SYNOPSIS

 use RDF::Trine::Exporter::CSV;

DESCRIPTION

The RDF::Trine::Exporter::CSV class provides an API for serializing RDF data to CSV strings and files.

METHODS

new ( sep_char => $sep_char, quote => $bool )

Returns a new RDF::Trine::Exporter::CSV object. If $sep_char is provided, it is used as the seperator character in CSV serialization, otherwise a comma (",") is used.

serialize_iterator_to_file ( $file, $iterator )

Serializes the bindings objects produced by $iterator, printing the results to the supplied filehandle <$fh>.

serialize_iterator_to_string ( $iterator )

Serializes the bindings objects produced by $iterator, returning the result as a string.

AUTHOR

Gregory Todd Williams <gwilliams@cpan.org>

COPYRIGHT

Copyright (c) 2006-2010 Gregory Todd Williams. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.