summaryrefslogtreecommitdiff
path: root/pod/perldebguts.pod
diff options
context:
space:
mode:
authorPeter Scott <Peter@PSDT.com>2002-01-24 00:51:34 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-24 20:58:15 +0000
commit848805551b0f28dd093c1130af7aa30922a60349 (patch)
tree36a8fee414bdc24b358a3a8f1f453d4b8547f09d /pod/perldebguts.pod
parent3ea3bee8a95a927c659af25645be0ba9b310d492 (diff)
downloadperl-848805551b0f28dd093c1130af7aa30922a60349.tar.gz
perldebguts.pod [bleadperl]
Message-Id: <4.3.2.7.2.20020123073917.00bac740@mail.webquarry.com> p4raw-id: //depot/perl@14408
Diffstat (limited to 'pod/perldebguts.pod')
-rw-r--r--pod/perldebguts.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perldebguts.pod b/pod/perldebguts.pod
index 827bb2f7d0..c46dfd99df 100644
--- a/pod/perldebguts.pod
+++ b/pod/perldebguts.pod
@@ -19,8 +19,8 @@ F<INSTALL> podpage in the Perl source tree.
For example, whenever you call Perl's built-in C<caller> function
from the package DB, the arguments that the corresponding stack
-frame was called with are copied to the @DB::args array. The
-general mechanisms is enabled by calling Perl with the B<-d> switch, the
+frame was called with are copied to the C<@DB::args> array. The
+general mechanism is enabled by calling Perl with the B<-d> switch, the
following additional features are enabled (cf. L<perlvar/$^P>):
=over 4
@@ -111,11 +111,12 @@ The minimal working debugger consists of one line
sub DB::DB {}
-which is quite handy as contents of C<PERL5DB> environment
+which you could even fit into the C<PERL5DB> environment
variable:
$ PERL5DB="sub DB::DB {}" perl -d your-script
+although it doesn't do anything that tells you it's working...
Another brief debugger, slightly more useful, could be created
with only the line: