Devel-DumpTrace
view release on metacpan or search on metacpan
0.03 2010-11-26
Implement output reduction strategies and $LEVEL verbosity level var.
0.02 2010-11-15
Remove some of those limitations from v0.01.
- Handle package vars
- Handle special vars $ARGV, %SIG, $1, etc.
0.01 2010-11-05
Initial version. Many "BUGS AND LIMITATIONS"
lib/Devel/DumpTrace.pm view on Meta::CPAN
# use PPI if available, otherwise use basic parser
$ perl -d:DumpTrace program.pl
# use PPI, fail if it is not available
$ perl -d:DumpTrace::PPI program.pl
# always uses basic parser
$ perl -d:DumpTrace::noPPI program.pl
$ DUMPTRACE_NOPPI=1 perl -d:DumpTrace program.pl
See the L</"BUGS AND LIMITATIONS"> section for important, er, limitations
of this module, especially for the basic parser.
=head1 SUBROUTINES/METHODS
None of interest.
=head1 VARIABLES
=head2 $TRACE
lib/Devel/DumpTrace.pm view on Meta::CPAN
All output from this module is for diagnostics.
=head1 DEPENDENCIES
L<PadWalker|PadWalker> for arbitrary access to lexical variables.
L<Scalar::Util|Scalar::Util> for the reference identification
convenience methods.
=head1 BUGS AND LIMITATIONS
=head2 Parser limitations
Some known cases where the output of this module will
be incorrect or misleading include:
=head3 Multiple statements on one line
$b = 7;
$a=4; $b=++$a;
lib/Devel/DumpTrace/PPI.pm view on Meta::CPAN
L<Scalar::Util|Scalar::Util> for the reference identification
convenience methods.
L<Text::Shorten|Text::Shorten> (bundled with this distribution)
for abbreviating long output, when desired.
=head1 INCOMPATIBILITIES
None known.
=head1 BUGS AND LIMITATIONS
See "BUGS AND LIMITATIONS" section in
L<Devel::DumpTrace|Devel::DumpTrace/"BUGS AND LIMITATION">
for description of some known issues in both the PPI parser
and the basic parser.
See L<Devel::DumpTrace/"SUPPORT"> for other support information.
Report issues for this module with the C<Devel-DumpTrace> distribution.
=head1 AUTHOR
Marty O'Brien, E<lt>mob at cpan.orgE<gt>
( run in 0.581 second using v1.01-cache-2.11-cpan-4d50c553e7e )