Attean::Literal(3pm)
π Attean::Literal β RDF Literals π
okay so bestie, welcome to Attean::Literal(3pm) from the User Contributed Perl Documentation squad π«Ά. This is the whole page, vibes intact, facts intact. let's go π
β¨ VERSION β¨
This document describes Attean::Literal version 0.035. periodt π
πΈ SYNOPSIS πΈ
like, here's the whole flex in code form:
use v5.14;
use Attean;
my $langterm = Attean::Literal->new(value => 'foo', language => 'en-US');
$langterm->ntriples_string; # "foo"@en-US
my $typeterm = Attean::Literal->new(value => '123', datatype => 'http://www.w3.org/2001/XMLSchema#integer');
$langterm->ntriples_string; # "123"^^<http://www.w3.org/2001/XMLSchema#integer>
yep β that second # comment really does live on $langterm in the original and not $typeterm. no cap, I'm not touching it π (character for character, bestie, that's the rule π§)
π¦ DESCRIPTION π¦
Attean::Literal is literally the class that represents RDF literals. it conforms to the Attean::API::Literal role β that's its whole main character energy ππ
β ATTRIBUTES β
The following attributes exist β yes, these three, that's the list, slay:
"value"π"language"π"datatype"π
(that's genuinely all the page says about them, so I'm not gonna invent lore, iykyk π)
π METHODS π
"has_language"β returns true if the literal has a language tag, and false otherwise. vibe check on the language tag, basically β¨"true"β thexsd:trueterm. π―"false"β thexsd:falseterm. π«Ά
π BUGS π
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>. (and yes β "report any bugs or feature requests to through" β that stray to is in the original and I refuse to ghost it, it's iconic now ππ¦)
π₯ SEE ALSO π₯
ngl bestie, this section is empty on the original page. not me leaving it exactly as-is π nothing to see here. π
π AUTHOR π
Gregory Todd Williams "<gwilliams@cpan.org>" β the legend, the icon π
πΈ 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. π
and that's the tea π β this was Attean::Literal(3pm), generated from perl v5.40.0 on 2025-01-26, so jot that down in ur notes app bestie πβ¨ bye!! π§π
π¦ 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