Data::HTML::TreeDumper - dumps perl data as HTML5 open/close tree
use Data::HTML::TreeDumper;
my $td = Data::HTML::TreeDumper->new(
ClassKey => 'trdKey',
ClassValue => 'trdValue',
MaxDepth => 8,
);
my $obj = someFunction();
print $td->dump($obj);
There are some samples.
Data::HTML::TreeDumper dumps perl data as HTML5 open/close tree.
Creates a new Data::HTML::TreeDumper instance. This method can take a list of options. You can set each options later as the properties of the instance.
CSS class names for each items. OrderedList is for arrays. UnorderedList is for hashes.
An integer to start counting from for arrays. Default is 0.
Stops following object tree at this level, and show "..." instead. Default is 8. Over 32 is not acceptable to prevent memory leak.
Dumps perl data as a HTML5 open/close tree.
Source repository is at p-Data-HTML-TreeDumper .
Data::HTMLDumper, Data::Dumper::HTML, Data::Format::Pretty::HTML
Copyright (C) TakeAsh.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.