1Attean::API::TermOrVariUasbelre(C3o)ntributed Perl DocumAetntteaatni:o:nAPI::TermOrVariable(3)
2
3
4

NAME

6       Attean::API::TermOrVariable - Role representing terms and variables
7

VERSION

9       This document describes Attean::API::TermOrVariable version 0.025
10

SYNOPSIS

12         use v5.14;
13         use Attean;
14

DESCRIPTION

16       This is a Moo role that both terms and variables consume, and is used
17       as a constraint for nodes in triple and quad patterns.
18

METHODS

20       "equals( $other )"
21           Returns true if the referent and $other are value-equal, false
22           otherwise.
23
24       "is_bound"
25           Returns true if the referent is bound. Note that in pattern
26           matching, "undef" may also be used, so typically, you would need to
27           check
28
29             if (defined($term) && $term->is_bound) { ...
30
31           to check.
32

BUGS

34       Please report any bugs or feature requests to through the GitHub web
35       interface at <https://github.com/kasei/attean/issues>.
36

SEE ALSO

AUTHOR

39       Gregory Todd Williams  "<gwilliams@cpan.org>"
40
42       Copyright (c) 2014--2019 Gregory Todd Williams.  This program is free
43       software; you can redistribute it and/or modify it under the same terms
44       as Perl itself.
45
46
47
48perl v5.30.0                      2019-10-31    Attean::API::TermOrVariable(3)
Impressum