diff options
author | Max Maischein <corion@corion.net> | 2012-02-19 21:04:34 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-02-26 17:23:36 -0800 |
commit | 8f7218162208c3aa44e723807ed2c73971b7ec38 (patch) | |
tree | b535698c6543ce387b4c3812fdca79be92d44cc5 | |
parent | 7bddbc2c8ce9369fe4544890596139ba51a1eb7b (diff) | |
download | perl-8f7218162208c3aa44e723807ed2c73971b7ec38.tar.gz |
Add an example how to fix '%s: command not found'
-rw-r--r-- | pod/perldiag.pod | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 9263de2989..92e71c094a 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1467,8 +1467,11 @@ and both these succeed: =item %s: Command not found -(A) You've accidentally run your script through B<csh> instead of Perl. -Check the #! line, or manually feed your script into Perl yourself. +(A) You've accidentally run your script through B<csh> 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 -w =item Compilation failed in require |