summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/unixish.h b/unixish.h
index 4474563755..e8ff11a107 100644
--- a/unixish.h
+++ b/unixish.h
@@ -69,6 +69,18 @@
*/
/* #define VMS / **/
+/* ALTERNATE_SHEBANG:
+ * This symbol, if defined, contains a "magic" string which may be used
+ * as the first line of a Perl program designed to be executed directly
+ * by name, instead of the standard Unix #!. If ALTERNATE_SHEBANG
+ * begins with a character other then #, then Perl will only treat
+ * it as a command line if if finds the string "perl" in the first
+ * word; otherwise it's treated as the first line of code in the script.
+ * (IOW, Perl won't hand off to another interpreter via an alternate
+ * shebang sequence that might be legal Perl code.)
+ */
+/* #define ALTERNATE_SHEBANG "#!" / **/
+
#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
# include <signal.h>
#endif