Data::DPath::Context - Abstraction for a current context that enables incremental searches.
Constructor; creates instance.
Args:
Default 0. If set to true value then results are references to the matched points in the data structure.
Returns all values covered by current context.
If give_references is set to true value then results are references to the matched points in the data structure.
give_references
Return new context with path relative to current context.
Same as search($path)->all();
search($path)->all()
Evaluates the filter condition in brackets. It differenciates between simple integers, which are taken as array index, and all other conditions, which are taken as evaled perl expression in a grep like expression onto the set of points found by current step.
Attribute / accessor.
That's just to make Pod::Coverage happy which does not handle aliased modules.
Steffen Schwigon, <schwigon at cpan.org>
<schwigon at cpan.org>
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.
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.