Data::DPath::Context - Online Linux Manual PageSection : 3pm
Updated : 2019-10-24
Source : perl v5.30.0
Note : User Contributed Perl Documentation
NAMEData::DPath::Context − Abstraction for a current context that enables incremental searches
API METHODS
new ( %args )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.
match( $dpath )Return array of all data that match the given DPath.
matchr( $dpath )Return array ref of all data that match the given DPath.
isearch( $path_str )Searches a path relative to current context and returns an iterator. See Iterator style for usage.
ref()It returns the reference to the actual data from the current context's first element. This mostly makes sense on contexts returned by iterators as there is only one point there. (Having the reference theoretically allows you to even change the data on this point. It's not yet clear what impact this has to currently active iterators, which should still return the original data but that's not yet tested. So don't rely on that behaviour.)
deref()This is one dereference step on top of ref(). It gives you the actual data found. Most of the time you want this.
first_pointOn a current context consisting on a set of points it returns the first point. This makes most sense with Iterator style API when the current iterator contains exactly one point.
all_pointsOn a current context consisting on a set of points it returns all those. This method is a functional complement to first_point.
UTILITY SUBS/METHODS
_allReturns 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.
_search( $dpath )Return new context for a DPath relative to current context.
_filter_pointsEvaluates 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.
current_pointsAttribute / accessor.
give_referencesAttribute / accessor.
aliased classesThat's just to make Pod::Coverage happy which does not handle aliased modules.
Context
Point
Step
AUTHORSteffen Schwigon <ss5@renormalist.net>
COPYRIGHT AND LICENSEThis 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. 0
Johanes Gumabo
Data Size : 10,198 byte
man-Data::DPath::Context.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 167,332
Visitor ID : :
Visitor IP : 3.144.91.130 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Data::DPath::Context.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Data::DPath::Context.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Data::DPath::Context.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Data::DPath::Context.3pm|43|'br══─}─══ |'br══─}─══
)