NAME

Data::DPath::Path - Abstraction for a DPath.

Take a string description, parse it, provide frontend methods.

PUBLIC METHODS

match( $data )

Returns an array of all values in $data that match the Path object.

INTERNAL METHODS

op_match( $self, $data )

This sub/method is bound as the overloading function for ~~. It's not implemented as method due to a strange "Odd number of elements in hash assignment" warning.

quoted

Checks whether a path part starts with quotes.

unquote

Removes surrounding quotes.

unescape

Converts backslashed characters into their non-backslashed form.

_build__steps

This method is essentially the DPath parser as it tokenizes the path into single steps whose later execution is the base functionality of the whole DPath module.

AUTHOR

Steffen Schwigon, <schwigon at cpan.org>

COPYRIGHT & LICENSE

Copyright 2008,2009 Steffen Schwigon.

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