X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldebug.pod;h=9e67b4df4226b5eb9363c311d5344de0d8f6d3c0;hb=8162142bfe8ad55439ff878b28c85e654d9a67d3;hp=cf1fa239666f68b83decf16d5015232c28ed4e41;hpb=20f91e418dfa8bdf6cf78614bfebebc28a7613ee;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldebug.pod b/pod/perldebug.pod index cf1fa23..9e67b4d 100644 --- a/pod/perldebug.pod +++ b/pod/perldebug.pod @@ -372,8 +372,8 @@ Delete all installed actions. =item w expr X -Add a global watch-expression. We hope you know what one of these -is, because they're supposed to be obvious. +Add a global watch-expression. Whenever a watched global changes the +debugger will stop and display the old and new values. =item W expr X @@ -1101,10 +1101,10 @@ your Perl as a C programmer might. =head2 The Perl Profiler X X X -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, which is included with the standard Perl distribution. To profile your Perl program in the file F, just type: @@ -1114,7 +1114,8 @@ When the script terminates the profiler will dump the profile information to a file called F. A tool like B, also supplied with the standard Perl distribution, can be used to interpret the information in that profile. More powerful profilers, -such as C are available from the CPAN. +such as C are available from the CPAN: see L +for details. =head1 Debugging regular expressions X