TPath::Test - interface of conditional expressions in predicates
version 0.011
Interface of objects expressing tests in predicate expressions. E.g., the @a or @b in //foo[@a or @b]. Not to be confused with TPath::Test::Node, which is used to implement the foo portion of this expression.
@a or @b
//foo[@a or @b]
foo
Takes a node, an index, and a collection of nodes and returns whether the node passes the predicate.
David F. Houghton <dfhoughton@gmail.com>
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.
To install TPath, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TPath
CPAN shell
perl -MCPAN -e shell install TPath
For more information on module installation, please visit the detailed CPAN module installation guide.