Visitor style traversal of Perl data structures
http://search.cpan.org/dist/Data-Visitor/
This module is a simple visitor implementation for Perl values.
It has a main dispatcher method, visit, which takes a single perl value and
then calls the methods appropriate for that value.
It can recursively map (cloning as necessary) or just traverse most structures,
with support for per object behavior, circular structures, visiting tied
structures, and all ref types (hashes, arrays, scalars, code, globs).
Data::Visitor is meant to be subclassed, but also ships with a callback driven
subclass, Data::Visitor::Callback.
- Links to devel:languages:perl / perl-Data-Visitor
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:kanku:perl/perl-Data-Visitor && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
Data-Visitor-0.32.tar.gz | 0000039313 38.4 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-Data-Visitor.changes | 0000002282 2.23 KB | |
perl-Data-Visitor.spec | 0000002346 2.29 KB |
Latest Revision
Frank Schreiner (M0ses)
committed
(revision 1)
Comments 0