1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Update to 0.16

PR:		70222
Submitted by:	maintainer
This commit is contained in:
Mathieu Arnold 2004-08-20 12:19:16 +00:00
parent 2f78a1fcc6
commit 88d05202bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116757
3 changed files with 28 additions and 6 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= Data-TreeDumper
PORTVERSION= 0.15
PORTVERSION= 0.16
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Data
@ -28,10 +28,10 @@ PERL_CONFIGURE= yes
.if ${PERL_LEVEL} < 500600
post-patch:
${PERL} -pi -e 's/^our (\S+)/use vars q{$$1};$$1/g;' \
@${PERL} -pi -e 's/^our (\S+)/use vars q{$$1};$$1/g;' \
-e '$$_ = "" if /warnings|5.006/;' \
-e 's/}\(/}->(/g;' \
-e '$$_ .= "->" if $$. == 428;' \
-e '$$_ .= "->" if $$. == 442;' \
${WRKSRC}/TreeDumper.pm
.endif

View File

@ -1,2 +1,2 @@
MD5 (Data-TreeDumper-0.15.tar.gz) = 0b3c3db0806cc2a648364da79425fabf
SIZE (Data-TreeDumper-0.15.tar.gz) = 17621
MD5 (Data-TreeDumper-0.16.tar.gz) = bf4ae87af5690106efd50d4c88d7adf5
SIZE (Data-TreeDumper-0.16.tar.gz) = 18120

View File

@ -1,10 +1,32 @@
Data::Dumper and other modules do a great job at dumping data structures.
Their output, however, often takes more brain power to understand than the
data itself. When dumping big amounts of data, the output can be overwhelming
data itself. When dumping large amounts of data, the output can be overwhelming
and it's difficult to see the relationship between each piece of the dumped
data. Data::TreeDumper also dumps data in a tree-like fashion but hopefully
in a format more easily understood.
Data::TreeDumper also gives one extraordinary control over output and
provides for custom filtering of and iteration over data structures.
Unfiltered output example:
title:
|- A [H1]
| |- a [H2]
| |- bbbbbb = CODE(0x8139fa0) [C3]
| |- c123 [C4 -> C3]
| `- d [R5]
| `- REF(0x8139fb8) [R5 -> C3]
|- ARRAY [A6]
| |- 0 [S7] = elment_1
| |- 1 [S8] = element_2
| `- 2 [S9] = element_3
`- C [H10]
`- b [H11]
`- a [H12]
|- a [H13]
|- b = CODE(0x81ab130) [C14]
`- c [S15] = 42
WWW: http://search.cpan.org/dist/Data-TreeDumper/
Author: Khemir Nadim ibn Hamouda <nadim@khemir.net>