diff options
author | Tom Hukins <tom@eborcom.com> | 2009-08-24 10:01:51 +0200 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2009-08-24 10:01:51 +0200 |
commit | e8b1531a318d6617b13e53ba6ccc157985b00840 (patch) | |
tree | 2d7d1617141357ba10bda0e9595ce58dcda17eea /pod/perldebug.pod | |
parent | b60d6605411da17cfde0ca1b95ab0950a1ba84f5 (diff) | |
download | perl-e8b1531a318d6617b13e53ba6ccc157985b00840.tar.gz |
Minor improvements to perldebug.pod
Minor improvements to the section on profiling.
Remove suggestions that Devel::DProf might be the most popular
profiler and reference perlperf.pod.
Diffstat (limited to 'pod/perldebug.pod')
-rw-r--r-- | pod/perldebug.pod | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pod/perldebug.pod b/pod/perldebug.pod index 104653a943..9e67b4df42 100644 --- a/pod/perldebug.pod +++ b/pod/perldebug.pod @@ -1101,10 +1101,10 @@ your Perl as a C programmer might. =head2 The Perl Profiler X<profile> X<profiling> X<profiler> -If you wish to supply an alternative debugger for Perl to run, just +If you wish to supply an alternative debugger for Perl to run, invoke your script with a colon and a package argument given to the -B<-d> flag. The most popular alternative debuggers for Perl is the -Perl profiler. Devel::DProf is included with the standard Perl +B<-d> flag. Perl's alternative debuggers include the Perl profiler, +L<Devel::DProf>, which is included with the standard Perl distribution. To profile your Perl program in the file F<mycode.pl>, just type: @@ -1114,7 +1114,8 @@ When the script terminates the profiler will dump the profile information to a file called F<tmon.out>. A tool like B<dprofpp>, also supplied with the standard Perl distribution, can be used to interpret the information in that profile. More powerful profilers, -such as C<Devel::NYTProf> are available from the CPAN. +such as C<Devel::NYTProf> are available from the CPAN: see L<perlperf> +for details. =head1 Debugging regular expressions X<regular expression, debugging> |