Attean...Triples(3pm)

πŸ’– NAME πŸ’–

Okay bestie, welcome to the Attean...Triples(3pm) page from the User Contributed Perl Documentation. This one is all about AtteanX::Serializer::NTriples β€” the N-Triples Serializer. Periodt. πŸ’…


🌸 VERSION 🌸

This document describes AtteanX::Serializer::NTriples version 0.035. Not a drill, that’s the version. ✨


πŸŽ€ SYNOPSIS πŸŽ€

okay so the code is literally giving: load Attean, grab the NTriples serializer, make a new one, and call it with $iter and $fh exactly like this:

use Attean;
my $serializer = Attean->get_serializer('NTriples')->new();
$serializer->serialize_iter_to_io( $iter, $fh );

Slay, that’s the whole vibe check. πŸ¦‹


πŸ¦‹ DESCRIPTION πŸ¦‹

It serializes triples into the RDF 1.1 N-Triples format. That’s the main character energy right there. πŸ‘‘


πŸ’… ATTRIBUTES πŸ’…

These are the attributes on deck, no cap:

  • canonical_media_type
  • file_extensions

Both listed, both accounted for. πŸŽ€


⭐ METHODS ⭐

Here’s the method lineup, bestie:

  • serialize_iter_to_io( $fh, $iterator )
  • serialize_iter_to_bytes( $fh )
  • media_types β€” Returns a list of media types that identify the format produced by this serializer.
  • file_extensions β€” Returns a list of file extensions associated with the serialized format.

iykyk β€” signatures kept exactly as written. πŸ’–


πŸ’€ BUGS πŸ’€

Please report any bugs or feature requests through the GitHub web interface at https://github.com/kasei/perlrdf/issues. Do not suffer in silence, bestie. 😭


πŸ”₯ SEE ALSO πŸ”₯

Go read the spec if you’re feeling academic. 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> πŸ’œ


Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Respect the license, queen. 🫢


okay that’s the whole page, bestie β€” xoxo, perl v5.40.0 Β· 2025-01-26 Β· Attean...Triples(3pm) πŸ’–πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from