Attean...iteral(3pm)
π NAME π
okay so bestie, welcome to Attean::API::Literal β it's a role (not a class, a role, iykyk) that represents RDF Literal terms. That's the whole name, that's the whole vibe. This page lives in the perl manual, section 3pm, and the manual calls it Attean...iteral(3pm) because apparently even manpage headers get truncated for the aesthetic. β¨
π VERSION π
This document describes Attean::API::Literal version 0.035. That's the exact number, no rounding, no vibes-based estimating. π«Ά
πΈ SYNOPSIS πΈ
like, the entire usage demo is literally just this:
use v5.14;
use Attean;
that's it. that's the synopsis. minimal queen behavior π
π¦ DESCRIPTION π¦
This is a Moo role that Literal RDF terms consume. So if you're an RDF literal out here in the world, this role is the little personality pack you take on. no cap, that's the entire description in the original and we're not gonna pretend there's more. π
π ROLES π
okay so this role is itself a consumer, not just a provider β it consumes these two roles:
Attean::API::TermAttean::API::BlankOrIRI
the way that a role can eat other roles and still be iconic π
π ATTRIBUTES π
The following attributes exist (yes, only these two, and yes, they're both important):
languageβ a language tag string. like a little string carrying the language tag, bestie. πdatatypeβ anAttean::API::IRIdatatype. note: it's an IRI object, not just any old string. respect the type. π
β METHODS β
This role provides default implementations of the following methods β default implementations, as in you get these for free, no cap:
ebvβ returns the boolean value of this term. that's the whole deal. short king of a method. π₯compare( $literal )β Returns-1,0, or1if$literalis less than, equal to, or greater than the referent, based on SPARQL sorting order. three numbers, one ordering, zero ambiguity. slay. β¨
careful withcompare: those-1/0/1values are for SPARQL sorting order specifically β that's not just alphabetically vibing, that's the actual spec order. π
π BUGS π
Please report any bugs or feature requests through the GitHub web interface at:
https://github.com/kasei/attean/issues
drop your bugs there, the maintainers will handle it π«Ά
π§ SEE ALSO π§
so this section exists in the original... and it's empty. zero entries. a beautiful void. no cross-references listed, and I'm not about to make any up because that would be lying and lying is not the vibe. π
π AUTHOR π
Gregory Todd Williams "<gwilliams@cpan.org>" β the main character who wrote this. give him his flowers π
π COPYRIGHT π
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. periodt.
π and that's the page, bestie! this one came to you from the perl manual βperl v5.40.0, dated2025-01-26β and it's calledAttean...iteral(3pm)on the tin. go forth and literal responsibly. πβ¨π
π¦ where this page comes from
- debian trixie: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms