Attean...attern(3pm)

okay so this is Attean::API::TriplePattern β€” the page filed under Attean...attern(3pm) in the User Contributed Perl Documentation section of the man-verse. Bestie, it's giving very specific Perl role energy and we're gonna get into it. πŸ’–

✨ NAME ✨

Attean::API::TriplePattern β€” Role representing triple patterns. That's the whole name vibe: a role, for triple patterns, slay. πŸ’…

🌸 VERSION 🌸

This document describes Attean::API::TriplePattern version 0.035. Periodt. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

use v5.14;
use Attean;

That's it. That's the whole little opening move, bestie. ✨

πŸ’œ DESCRIPTION πŸ’œ

This is a Moo role representing triple patterns. Lowkey iconic of it. πŸ‘‘

🌈 ROLES 🌈

This role consumes Attean::API::TripleOrQuadPattern and Attean::API::Binding, which provide the following methods:

  • mapping
  • values
  • tuples_string
  • as_string

So yeah, it's not out here doing all the method work by itself β€” it's teaming up with those roles, and they bring the listed methods. 🫢

πŸ’… METHODS πŸ’…

πŸŒ€ variables

Returns the list of variable names: qw(subject predicate object).

Three little names, all lined up, exactly like that. No cap. πŸ“

πŸ”₯ value( $key )

Returns the Attean::API::Term value bound to the variable named $key β€” and $key must be present in the variables list. Otherwise you get undef. πŸ™ˆ

Like, if it's not on the list, bestie, it's not giving you a value. πŸ’€

⭐ as_quad_pattern( $graph )

Returns a new Attean::QuadPattern object with the referent's subject, predicate, and object, plus the supplied $graph. Cute little triple-to-quad glow-up. πŸ¦‹

πŸ’€ BUGS πŸ’€

Please report any bugs or feature requests through the GitHub web interface at https://github.com/kasei/attean/issues.

That's the whole bug-reporting situation. Go off, file that issue. 🫢

πŸŽ€ SEE ALSO πŸŽ€

This section is literally a blank canvas in the original β€” no SEE ALSO entries are listed. So no extra refs from me, bestie. Just vibes and an empty section, respectfully. πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org>.

Put some respect on the name. 🌟

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.


okay that's the whole page πŸ’– β€” source/version situation: perl v5.40.0, date 2025-01-26, page Attean...attern(3pm). mwah πŸ’…

πŸ“¦ where this page comes from