summaryrefslogtreecommitdiff
path: root/pod/perldebug.pod
diff options
context:
space:
mode:
authorMark-Jason Dominus <mjd@plover.com>2002-02-12 15:54:01 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-13 05:12:28 +0000
commit3ae893bd03a243c0d4ba2d7741ae988e0043470f (patch)
treecb612acf9ba8166e0c5bd599b77bc1dd9fb1db78 /pod/perldebug.pod
parentd03c2a1b901127d77518bbc18d5271b287c9e28b (diff)
downloadperl-3ae893bd03a243c0d4ba2d7741ae988e0043470f.tar.gz
New command syntax for 'x' command
Message-ID: <20020213015401.25685.qmail@plover.com> p4raw-id: //depot/perl@14671
Diffstat (limited to 'pod/perldebug.pod')
-rw-r--r--pod/perldebug.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/pod/perldebug.pod b/pod/perldebug.pod
index 833d8877ea..fce444e751 100644
--- a/pod/perldebug.pod
+++ b/pod/perldebug.pod
@@ -78,7 +78,7 @@ data structures and objects are not dumped, unlike with the C<x> command.
The C<DB::OUT> filehandle is opened to F</dev/tty>, regardless of
where STDOUT may be redirected to.
-=item x expr
+=item x [maxdepth] expr
Evaluates its expression in list context and dumps out the result
in a pretty-printed fashion. Nested data structures are printed out
@@ -88,6 +88,10 @@ See L<Dumpvalue> if you'd like to do this yourself.
The output format is governed by multiple options described under
L<"Configurable Options">.
+If the C<maxdepth> is included, it must be a numeral I<N>; the value is
+dumped only I<N> levels deep, as if the C<dumpDepth> option had been
+deporarily set to I<N>.
+
=item V [pkg [vars]]
Display all (or some) variables in package (defaulting to C<main>)