Data::DPath::Path - Abstraction for a DPath
Take a string description, parse it, provide frontend methods.
Constructor; creates instance.
Args:
- give_references
-
Default 0. If set to true value then results are references to the
matched points in the data structure.
Returns an array of all values in $data that match the Path object.
Returns an array ref of all values in $data that match the Path object.
This sub/method is bound as the overloading function for ~~.
Checks whether a path part starts with quotes.
Removes surrounding quotes.
Converts backslashed characters into their non-backslashed form.
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.
Attribute / accessor.
Attribute / accessor.
Attribute / accessor.
That's just to make Pod::Coverage happy which does not handle aliased
modules.
Steffen Schwigon <ss5@renormalist.net>
This software is copyright (c) 2019 by Steffen Schwigon.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
|