Carp::Always::Dump - (DEPRECATED) Like Carp::Always, but dumps the content of function arguments
This document describes version 0.07 of Carp::Always::Dump (from Perl distribution Carp-Always-Dump), released on 2015-01-06.
% perl -MCarp::Always::Dump script.pl
NOTICE: This module is deprecated. The same functionality is in Devel::Confess:
% perl -d:Confess=dump ...
This module will be removed from CPAN.
If set to true, will use terminal colors to help visually distinguish parameters from one another.
If set to 1, will dump objects (blessed references) instead of showing them as 'Foo::Bar=HASH(0x19c8ff8)'.
Like $MaxArgLen in Carp, to limit the number of characters of dump to show.
$MaxArgLen
If set to false, will use Data::Dump instead of the terser Data::Dump::OneLine to produce the dumps.
For each variable mentioned in "VARIABLES", you can also set it via import argument:
use Carp::Always::Dump Color=>0, DumpObj=>1;
Via command-line:
% perl -MCarp::Always::Dump=Color,1 ...
Used to set the default of $Color.
$Color
Carp::Always (and its variants such as: Carp::Always::Color, Carp::Always::SHS)
Devel::SimpleTrace, a simpler stack trace module, without showing function arguments.
Monkey::Patch::Action
Please visit the project's homepage at https://metacpan.org/release/Carp-Always-Dump.
Source repository is at https://github.com/perlancar/perl-Carp-Always-Dump.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Carp-Always-Dump
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Carp::Always::Dump, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Carp::Always::Dump
CPAN shell
perl -MCPAN -e shell install Carp::Always::Dump
For more information on module installation, please visit the detailed CPAN module installation guide.