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 $other are value-equal, false otherwise. Slay.
  • "is_bound" β€” Returns true if the referent is bound. Bestie, note that in pattern matching, undef may 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 (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