The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TPath::Attribute - handles evaluating an attribute for a particular node

VERSION

version 0.011

DESCRIPTION

For use in compiled TPath expressions. Not for external consumption.

ATTRIBUTES

name

The name of the attribute. E.g., in @foo, foo.

args

The arguments the attribute takes, if any.

code

The actual code reference invoked when apply is called.

METHODS

apply

Expects a node, and index, and a collection. Returns some value.

ROLES

TPath::Test

AUTHOR

David F. Houghton <dfhoughton@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by David F. Houghton.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.