| 1 |
Data/TreeDumper/OO |
| 2 |
=================== |
| 3 |
|
| 4 |
Version 0.06 |
| 5 |
|
| 6 |
Data::TreeDumper::OO Object oriented interface to Data::TreeDumper. |
| 7 |
|
| 8 |
Ex: |
| 9 |
|
| 10 |
my $tree = { ... } ; |
| 11 |
my $dumper = new Data::TreeDumper::00(MAX_DEPTH => 1) ; |
| 12 |
|
| 13 |
$dumper->UseAnsi(1) ; |
| 14 |
$dumper->Maxdepth(2) ; |
| 15 |
$dumper->Dump($tree, "Using OO interface:") ; |
| 16 |
|
| 17 |
#output |
| 18 |
|
| 19 |
Using OO interface: |
| 20 |
|- A [H1] |
| 21 |
| |- a [H2] |
| 22 |
| |- bbbbbb = CODE(0x8139fa0) [C3] |
| 23 |
| |- c123 [C4 -> C3] |
| 24 |
| `- d [R5] |
| 25 |
| `- REF(0x8139fb8) [C6 -> C3] |
| 26 |
|- ARRAY [A7] |
| 27 |
| |- 0 [S8] = elment_1 |
| 28 |
| |- 1 [S9] = element_2 |
| 29 |
| `- 2 [S10] = element_3 |
| 30 |
`- C [H11] |
| 31 |
`- b [H12] |
| 32 |
`- a [H13] |
| 33 |
|- a [H14] |
| 34 |
|- b = CODE(0x81ab10c) [C15] |
| 35 |
`- c [S16] = 42 |
| 36 |
|
| 37 |
INSTALLATION |
| 38 |
|
| 39 |
To install this module type the following: |
| 40 |
|
| 41 |
perl Makefile.PL |
| 42 |
make |
| 43 |
make test |
| 44 |
make install |
| 45 |
|
| 46 |
DEPENDENCIES |
| 47 |
|
| 48 |
This module requires these other modules and libraries: |
| 49 |
|
| 50 |
Data::TreeDumper |
| 51 |
|
| 52 |
COPYRIGHT AND LICENCE |
| 53 |
|
| 54 |
Copyright (c) 2003-2005 Nadim Ibn Hamouda el Khemir. All rights |
| 55 |
reserved. This program is free software; you can redis- |
| 56 |
tribute it and/or modify it under the same terms as Perl |
| 57 |
itself. |
| 58 |
|
| 59 |
If you find any value in this module, mail me! All hints, tips, flammes and wishes |
| 60 |
are welcome at <[email protected]>. |
| 61 |
|