summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-04 20:06:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-04 20:06:58 +0000
commitc406981e00deead8e4a58424b87a96ede9af2f23 (patch)
treedb5ddf953b211290174ce58358f77e5d156f69e8 /pod/perlrun.pod
parent4845d0b217149851eff12d4c8710aa5b85df4596 (diff)
downloadperl-c406981e00deead8e4a58424b87a96ede9af2f23.tar.gz
Spread the good word of "env".
p4raw-id: //depot/perl@14060
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 138e34499c..7326d27064 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -334,6 +334,9 @@ If you're just trying to get a print out of each line of Perl code
as it executes, the way that C<sh -x> provides for shell scripts,
you can't use Perl's B<-D> switch. Instead do this
+ # If you have "env" utility
+ env=PERLDB_OPTS="NonStop=1 AutoTrace=1 frame=2" perl -dS program
+
# Bourne shell syntax
$ PERLDB_OPTS="NonStop=1 AutoTrace=1 frame=2" perl -dS program