Data::DPath::Path - Abstraction for a DPath
Take a string description, parse it, provide frontend methods.
Constructor; creates instance.
Args:
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.
$data
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.
That's just to make Pod::Coverage happy which does not handle aliased modules.
Steffen Schwigon <ss5@renormalist.net>
This software is copyright (c) 2014 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.
To install Data::DPath, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::DPath
CPAN shell
perl -MCPAN -e shell install Data::DPath
For more information on module installation, please visit the detailed CPAN module installation guide.