Package Info

perl-Data-Visitor


Visitor style traversal of Perl data structures


Unspecified

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.


License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/Data-Visitor

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.32-bp156.1.1 info GA Release 2023-09-01 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor
0.31-bp155.2.8 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor
0.31-bp154.1.17 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor
0.30-bp153.1.13 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor
0.30-bp152.3.14 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor
0.30-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor
0.30-bp151.2.11 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor
0.30-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Data-Visitor