diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-04 20:06:58 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-04 20:06:58 +0000 |
commit | c406981e00deead8e4a58424b87a96ede9af2f23 (patch) | |
tree | db5ddf953b211290174ce58358f77e5d156f69e8 /pod | |
parent | 4845d0b217149851eff12d4c8710aa5b85df4596 (diff) | |
download | perl-c406981e00deead8e4a58424b87a96ede9af2f23.tar.gz |
Spread the good word of "env".
p4raw-id: //depot/perl@14060
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlhack.pod | 9 | ||||
-rw-r--r-- | pod/perllocale.pod | 4 | ||||
-rw-r--r-- | pod/perlrun.pod | 3 |
3 files changed, 16 insertions, 0 deletions
diff --git a/pod/perlhack.pod b/pod/perlhack.pod index 4efe90bfe2..c93e230dbc 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -1891,6 +1891,15 @@ If you plan to use the "Viewer" windows, then you only need this option: setenv PURIFYOPTIONS "-chain-length=25" +In Bourne-type shells: + + PURIFY_OPTIONS="..." + export PURIFY_OPTIONS + +or if you have the "env" utility: + + env PURIFY_OPTIONS="..." ../pureperl ... + =head2 Purify on NT Purify on Windows NT instruments the Perl binary 'perl.exe' diff --git a/pod/perllocale.pod b/pod/perllocale.pod index 7864addc3e..43ffe584ac 100644 --- a/pod/perllocale.pod +++ b/pod/perllocale.pod @@ -310,6 +310,10 @@ locale "En_US"--and in Cshish shells (B<csh>, B<tcsh>) setenv LC_ALL en_US.ISO8859-1 +or if you have the "env" application you can do in any shell + + env LC_ALL=en_US.ISO8859-1 perl ... + If you do not know what shell you have, consult your local helpdesk or the equivalent. 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 |