Change 34943 by [EMAIL PROTECTED] on 2008/11/27 05:51:49

        Subject: [perl #32979] [PATCH] perlrun #!/bin/sh incantation n.g. 4 
linux
        From: "Steve Peters via RT" <[EMAIL PROTECTED]>
        Date: 21 Dec 2004 17:36:12 -0000
        Message-ID: <[EMAIL PROTECTED]>
        
        Applying a four year old patch from myself.  w00t!

Affected files ...

... //depot/perl/pod/perlrun.pod#172 edit

Differences ...

==== //depot/perl/pod/perlrun.pod#172 (text) ====
Index: perl/pod/perlrun.pod
--- perl/pod/perlrun.pod#171~34696~     2008-11-02 09:09:10.000000000 -0800
+++ perl/pod/perlrun.pod        2008-11-26 21:51:49.000000000 -0800
@@ -77,9 +77,10 @@
 The sequences "-*" and "- " are specifically ignored so that you could,
 if you were so inclined, say
 
-    #!/bin/sh -- # -*- perl -*- -p
-    eval 'exec perl -wS $0 ${1+"$@"}'
-        if $running_under_some_shell;
+    #!/bin/sh
+    #! -*-perl-*-
+    eval 'exec perl -x -wS $0 ${1+"$@"}'
+        if 0;
 
 to let Perl see the B<-p> switch.
 
End of Patch.

Reply via email to