1Wx::Perl::DataWalker(3)User Contributed Perl DocumentatioWnx::Perl::DataWalker(3)
2
3
4

NAME

6       Wx::Perl::DataWalker - Perl extension for blah blah blah
7

SYNOPSIS

9         # alternatively, see the dataWalker.pl script in this distribution!
10         use Wx::Perl::DataWalker;
11
12         my $data_to_browse = {
13           # complex data structure.
14           # Good test: \%::
15         };
16
17         package MyWalkerDialog;
18         our @ISA = qw(Wx::App);
19
20         sub OnInit {
21             my $self = shift;
22
23             my $frame = Wx::Perl::DataWalker->new(
24               {data => $data_to_browse},
25               undef, -1,
26               "dataWalker",
27             );
28             $self->SetTopWindow($frame);
29             $frame->Show(1);
30             $frame->SetSize(500,500);
31
32             return 1;
33         }
34
35         package main;
36         my $app = MyWalkerDialog->new();
37         $app->MainLoop();
38

DESCRIPTION

40       "Wx::Perl::DataWalker" implements a "Wx::Frame" subclass that shows a
41       relatively simple Perl data structure browser.  After opening such a
42       frame and supplying it with a reference to an essentially arbitrary
43       data structure, you can visually browse it by double-clicking
44       references.
45
46       So far, there is no tree view but only a display of the current level
47       of the data structure. You can traverse back up the structure with a
48       back button.
49
50       Optionally, "Wx::Perl::DataWalker" displays the (approximate!) size of
51       the data structure using "Devel::Size".
52

SEE ALSO

54       Wx, Devel::Size
55
56       Padre::Plugin::DataWalker
57

AUTHOR

59       Steffen Mueller, <smueller@cpan.org>
60
62       Copyright (C) 2009 by Steffen Mueller
63
64       This library is free software; you can redistribute it and/or modify it
65       under the same terms as Perl itself, either Perl version 5.8 or, at
66       your option, any later version of Perl 5 you may have available.
67
68
69
70perl v5.34.0                      2021-07-23           Wx::Perl::DataWalker(3)
Impressum