Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Data::DPath::Path

Name Data::DPath::Path
Version 0.58
Located at /usr/share/perl5
File /usr/share/perl5/Data/DPath/Path.pm
Is Core No
Search CPAN for this module Data::DPath::Path
Documentation Data::DPath::Path
Module Details Data::DPath::Path


NAME

Data::DPath::Path - Abstraction for a DPath


ABOUT

Take a string description, parse it, provide frontend methods.


PUBLIC 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( $data )

Returns an array of all values in $data that match the Path object.

matchr( $data )

Returns an array ref of all values in $data that match the Path object.


INTERNAL METHODS

op_match( $self, $data )

This sub/method is bound as the overloading function for ~~.

quoted

Checks whether a path part starts with quotes.

unquote

Removes surrounding quotes.

unescape

Converts backslashed characters into their non-backslashed form.

_build__steps

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.

path

Attribute / accessor.

_steps

Attribute / accessor.

give_references

Attribute / accessor.


aliased classes

That's just to make Pod::Coverage happy which does not handle aliased modules.

Context

Point

Step


AUTHOR

Steffen Schwigon <ss5@renormalist.net>


COPYRIGHT AND LICENSE

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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026