Change 14408 by jhi@alpha on 2002/01/24 20:58:15
Subject: [PATCH] perldebguts.pod [bleadperl]
From: Peter Scott <[EMAIL PROTECTED]>
Date: Thu, 24 Jan 2002 08:51:34 -0800
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
.... //depot/perl/pod/perldebguts.pod#12 edit
Differences ...
==== //depot/perl/pod/perldebguts.pod#12 (text) ====
Index: perl/pod/perldebguts.pod
--- perl/pod/perldebguts.pod.~1~ Thu Jan 24 14:15:05 2002
+++ perl/pod/perldebguts.pod Thu Jan 24 14:15:05 2002
@@ -19,8 +19,8 @@
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 @@
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:
End of Patch.