Attean...ariable(3pm)
π NAME π
The module is Attean::API::TermOrVariable β Role representing terms and variables. Also, hi bestie, this is the Attean...ariable(3pm) page from the User Contributed Perl Documentation, so you're in exactly the right place π.
β¨ VERSION β¨
This document describes Attean::API::TermOrVariable version 0.035. Periodt.
π¦ SYNOPSIS π¦
use v5.14;
use Attean;
πΈ DESCRIPTION πΈ
Okay so this is a Moo role that both terms and variables consume, and it's used as a constraint for nodes in triple and quad patterns. That's the whole vibe β¨.
π METHODS π
equals( $other )β Returns true if the referent and$otherare value-equal, false otherwise. Slay."is_bound"β Returns true if the referent is bound. Bestie, note that in pattern matching,undefmay also be used, so typically, you would need to check:
if (defined($term) && $term->is_bound) { ...
iykyk β that defined check is doing main character work π«Ά.
π BUGS π
Please report any bugs or feature requests through the GitHub web interface at https://github.com/kasei/attean/issues. No cap, they want to hear from you.
π SEE ALSO π
The original page leaves this section empty, so there are literally no SEE ALSO references here. No cap.
π AUTHOR π
Gregory Todd Williams "<gwilliams@cpan.org>"
π 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.
Sign-off: this page came from perl v5.40.0, dated 2025-01-26, and it's the Attean...ariable(3pm) page. Stay iconic, protect your variables, and check is_bound before you ship ππ«Άβ¨
π¦ 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