summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2016-06-16 20:17:08 +0200
committerLukas Mai <l.mai@web.de>2016-06-16 20:17:08 +0200
commit3bcfc7b32c9b00b9bf0355e7261883faed76aa08 (patch)
treeac3fab7ca7e59fd1a3518a2825c183e6c62e296e /pod/perldiag.pod
parent0de6c762a26eee78d6c85af739cbb17ccbbeadc6 (diff)
downloadperl-3bcfc7b32c9b00b9bf0355e7261883faed76aa08.tar.gz
perldiag: add "command not found" entries for bash/zsh
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod18
1 files changed, 17 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index dae7c264b4..c0899ff6de 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1718,7 +1718,23 @@ being readable by a later Perl.
instead of Perl. Check the #! line, or manually feed your script into
Perl yourself. The #! line at the top of your file could look like
- #!/usr/bin/perl -w
+ #!/usr/bin/perl
+
+=item %s: command not found
+
+(A) You've accidentally run your script through B<bash> or another shell
+instead of Perl. Check the #! line, or manually feed your script into
+Perl yourself. The #! line at the top of your file could look like
+
+ #!/usr/bin/perl
+
+=item %s: command not found: %s
+
+(A) You've accidentally run your script through B<zsh> or another shell
+instead of Perl. Check the #! line, or manually feed your script into
+Perl yourself. The #! line at the top of your file could look like
+
+ #!/usr/bin/perl
=item Compilation failed in require