From 8f7218162208c3aa44e723807ed2c73971b7ec38 Mon Sep 17 00:00:00 2001 From: Max Maischein Date: Sun, 19 Feb 2012 21:04:34 +0100 Subject: Add an example how to fix '%s: command not found' --- pod/perldiag.pod | 7 +++++-- 1 file 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 instead of Perl. -Check the #! line, or manually feed your script into Perl yourself. +(A) You've accidentally run your script through B 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 -- cgit v1.2.1