Pretty printing of data structures
This module provides a single function called dump() that takes a list of values as its argument and produces a string as its result. The string contains Perl code that, when evaled, produces a deep copy of the original arguments. The string is formatted for easy reading. If dump() is called in a void context, then the dump is printed on STDERR instead of being returned. If you don't like importing a function that overrides Perl's not-so-useful builtin, then you can also import the same function as pp(), mnemonic for "pretty-print".
$
pkg install p5-Data-DumpOrigin
devel/p5-Data-Dump
Size
50.2KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
1 packages
Required by
35 packages
Dependencies (1)
Required By (35)
MailScannergtk-pipe-viewergtk-youtube-viewerlatex-biberlyrionmusicserverp5-Asm-Preprocp5-Catalyst-Plugin-ErrorCatcherp5-Catalyst-Runtimep5-Catalyst-View-TTp5-Catalyst-View-TT-Alloyp5-DBIx-Class-Schema-Loaderp5-Data-Dump-Colorp5-Data-Sahp5-HTML-Restrictp5-Hailop5-Log-Dumpp5-Net-FreshBooks-APIp5-Net-Riakp5-POE-Component-IKCp5-Perl-PrereqScanner-NotQuiteLitep5-Plack-Middleware-Debugp5-PostScript-PPDp5-Rose-DBx-Object-MoreHelpersp5-Search-QueryParser-SQLp5-Shell-Perlp5-Squattingp5-Starmanp5-Store-CouchDBp5-Test-Classyp5-Test-Trap+ 5 more