---
name: "RDF::Trine::Exporter::CSV"
section: "3pm"
platform: "linux"
package: "librdf-trine-perl"
version: "1.019-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/RDF::Trine::Exporter::CSV"
---

# RDF::Trine::Exporter::CSV(3pm)

Export RDF data to CSV

## NAME

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

## VERSION

This document describes RDF::Trine::Exporter::CSV version 1.019

## 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 separator 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.

## BUGS

Please report any bugs or feature requests to through the GitHub web interface at \<https://github.com/kasei/perlrdf/issues\>.

## AUTHOR

Gregory Todd Williams  `"<gwilliams@cpan.org>"`

## COPYRIGHT

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