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::Predicate::Index - implements the [0] in //a/b[0]

VERSION

version 1.007

DESCRIPTION

The object that selects the correct member of collection based on its index.

ATTRIBUTES

idx

The index of the item selected.

ROLES

TPath::Predicate

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.