The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::DPath::Context - Abstraction for a current context that enables incremental searches.

API METHODS

all

Returns all values covered by current context.

search( $path )

Return new context with path relative to current context.

match( $path )

Same as search($path)->all();

UTILITY SUBS/METHODS

_filter_points

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.

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.