home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!axion!micromuse!hilly!peter
- From: peter@micromuse.co.uk (Peter Galbavy)
- Newsgroups: comp.lang.perl
- Subject: Problems with "-s" in #! line - help !
- Message-ID: <peter.726325150@hilly>
- Date: 6 Jan 93 12:59:10 GMT
- Organization: MicroMuse Limited, London, England.
- Lines: 28
-
- OK. If this is fixed in 4.035 sorry.
-
- I have a script (well about 10) that I want to use the -s option with
- just to pickup things like -debug etc.
-
- If the #! line reads:
-
- #!/usr/local/bin/perl -s
-
- All is OK'ish. But then add a comment for emacs:
-
- #!/usr/local/bin/perl -s # -*- Perl -*-
-
- and perl bombs out with:
-
- "Unrecognized switch: - # -*- P."
-
- I tried adding a "--" as well, and get:
-
- "Unrecognized switch: - -- # -*."
-
- Is this a bug or have I compiled perl wrong ?
-
- Thanks all,
- --
- Peter Galbavy
- Tech Support, Micromuse Ltd
- Phone: +44 71 352 7774 E-Mail: P.Galbavy@micromuse.co.uk
-