Data-Dx
view release on metacpan or search on metacpan
lib/Data/Dx.pm view on Meta::CPAN
If you disable Unicode semantics in this way, any subsequent use of
the C<Dâ> variant of the keyword will probably raise a warning.
=item C<no Data::Dx;>
If the module is imported with C<no> instead of C<use>,
it still exports the C<Dx> and C<Dâ> keywords, but as no-ops.
This means that you can leave every C<Dx> and C<Dâ> in your code
but disable them all (or just all of them in a given scope)
by changing the original C<use Data::Dx> to C<no Data::Dx>
=item C<< use Data::Dx { colour => 0 }; >>
If the module is imported with the C<'colour'> option set false,
output is dumped without colouring, even if Term::ANSIColor is
available.
The option defaults to true if C<STDERR> is directed to a terminal,
and to false otherwise.
If you want coloured output even when C<STDERR> isn't directed to a terminal,
specify it explicitly like this:
use Data::Dx { colour => 1 };
=back
=head1 DIAGNOSTICS
None, apart from those provided by Data::Dump;
=head1 CONFIGURATION AND ENVIRONMENT
Data::Dx requires no configuration files or environment variables.
=head1 DEPENDENCIES
Requires the Data::Dump and Keyword::Declare modules.
If you want syntax colouring on the dumps, also requires the
Term::ANSIColor module (plus Win32::Console::ANSI under Windows)
Only works under Perl 5.12 and later (the release in
which pluggable keywords were added to Perl).
Does not work under Perl 5.20 (due to problems with regex compilation
exposed by the Keyword::Declare module under that release).
=head1 INCOMPATIBILITIES
None reported.
=head1 BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to
C<bug-data-dx@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>.
=head1 AUTHOR
Damian Conway C<< <DCONWAY@CPAN.org> >>
=head1 LICENCE AND COPYRIGHT
Copyright (c) 2010-2017, Damian Conway C<< <DCONWAY@CPAN.org> >>. All rights reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See L<perlartistic>.
=head1 DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
( run in 0.578 second using v1.01-cache-2.11-cpan-39bf76dae61 )