summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorJim Cromie <jcromie@cpan.org>2004-07-21 05:21:50 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-07-22 13:15:12 +0000
commitfa3aa65a5ab84a4dd986ed927a8fcbf6d6dfcf43 (patch)
tree9b1e7406317c17394da5e4a7c64771254ce4354a /pod/perlrun.pod
parentae66550fab0bda6873f03245e4b9b035b8f35026 (diff)
downloadperl-fa3aa65a5ab84a4dd986ed927a8fcbf6d6dfcf43.tar.gz
Re: "Too late for -T" could be more descriptive
Message-ID: <40FEA62E.2010809@divsol.com> (with tweaks) p4raw-id: //depot/perl@23150
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod9
1 files changed, 6 insertions, 3 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index d40abb8c7a..e730530f65 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -733,9 +733,12 @@ original name fails, and if the name does not already end in one
of those suffixes. If your Perl was compiled with DEBUGGING turned
on, using the -Dp switch to Perl shows how the search progresses.
-Typically this is used to emulate #! startup on platforms that
-don't support #!. This example works on many platforms that
-have a shell compatible with Bourne shell:
+Typically this is used to emulate #! startup on platforms that don't
+support #!. Its also convenient when debugging a script that uses #!,
+and is thus normally found by the shell's $PATH search mechanism.
+
+This example works on many platforms that have a shell compatible with
+Bourne shell:
#!/usr/bin/perl
eval 'exec /usr/bin/perl -wS $0 ${1+"$@"}'