This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add an example how to fix '%s: command not found'
authorMax Maischein <corion@corion.net>
Sun, 19 Feb 2012 20:04:34 +0000 (21:04 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 27 Feb 2012 01:23:36 +0000 (17:23 -0800)
pod/perldiag.pod

index 9263de2..92e71c0 100644 (file)
@@ -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