RDF::T...er::TSV(3pm)
π NAME π
RDF::Trine::Serializer::TSV β the TSV Serializer, bestie. That's it, that's the name, no notes. π
This page lives in the User Contributed Perl Documentation section of the manual, and the page title is RDF::T...er::TSV(3pm) (yes the terminal truncates it, we don't make the rules π
).
β¨ VERSION β¨
This doc describes RDF::Trine::Store version 1.019. Not a typo, not a vibe, that's literally what it says. π«Ά
πΈ SYNOPSIS πΈ
Okay so here's the whole thing in action, copy-paste ready:
use RDF::Trine::Serializer::TSV;
my $serializer = RDF::Trine::Serializer::TSV->new();
Two lines. That's the whole glow-up. β¨
π¦ DESCRIPTION π¦
The RDF::Trine::Serializer::TSV class is the friend that takes your RDF graphs and turns them into TSV syntax. It provides an API for serializing RDF graphs to TSV. That's its whole job and it does it, no cap. π
π METHODS π
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Serializer class. So it's not doing this alone β it's got ancestors, iykyk. π§
newβ Returns a new TSV serializer object. Fresh out the box, ready to go. πserialize_model_to_file ( $fh, $model )β Serializes the$modelto TSV, printing the results to the supplied filehandle<$fh>. It writes to your filehandle, it does not return it to you, so don't come for me when you get nothing back. πserialize_model_to_string ( $model )β Serializes the$modelto TSV, returning the result as a string. This one does hand you the string, main character energy. πserialize_iterator_to_file ( $file, $iter )β Serializes the iterator to TSV, printing the results to the supplied filehandle<$fh>. (Yes, the signature says$fileand the description says$fh, that's just how the original rolls β copy it exactly, bestie. π)serialize_iterator_to_string ( $iter )β Serializes the iterator to TSV, returning the result as a string. String in your hands, iconic. πresult_as_string ( $result, \@names )β Returns a string with the bound terms of the givenRDF::Trine::VariableBindingscorresponding to the given@namesserialized in N-Triples format, separated by tab characters. Tabs. Separating things. That's the whole TSV moment. βstatement_as_string ( $st )β Returns a string with the nodes of the givenRDF::Trine::Statementserialized in N-Triples format, separated by tab characters. Same tab situation, different input. π₯
π BUGS π
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. Yes the original sentence reads a little cursed ("to through"), we are preserving the lore fr fr. Take your bugs there. π
π SEE ALSO π
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org>. The legend. The blueprint. π«Ά
πΈ 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.
Legal but make it cute: same terms as Perl itself, periodt. π
And that's the page, bestie β authored under perl v5.38.2, dated 2024-01-13, brought to you by the one and only RDF::T...er::TSV(3pm). Go serialize something gorgeous. πβ¨π
π¦ where this page comes from
- debian trixie: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms