Exherbo
GitLab
Packages
dev-perl/Data-Visitor
Visitor style traversal of Perl data structures.
Versions
Slot
Version
Repository
Platforms
0
0.32
perl
~amd64
arm?
armv7?
armv8?
~x86
Metadata
Homepage
https://metacpan.org/release/Data-Visitor/
Summary
Visitor style traversal of Perl data structures
Description
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).
Upstream changelog
https://metacpan.org/changes/distribution/Data-Visitor
Dependencies
(
(
build+run:
dev-perl/Moose[>=0.89]
dev-perl/namespace-clean[>=0.19]
dev-perl/Tie-ToObject[>=0.0.1]
test:
dev-perl/Test-Needs
dev-perl/Tie-RefHash
)
(
build+run:
dev-lang/perl:=
)
)
Downloads
mirror://cpan/authors/id/E/ET/ETHER/Data-Visitor-0.32.tar.gz
Licences
|| (
Artistic
GPL-1
GPL-2
GPL-3
)