From owner-freebsd-isp Wed Dec 29 2:46:26 1999 Delivered-To: freebsd-isp@freebsd.org Received: from binnen.mail.nl.demon.net (binnen.mail.nl.demon.net [194.159.72.192]) by hub.freebsd.org (Postfix) with ESMTP id A4C07155CD for ; Wed, 29 Dec 1999 02:46:23 -0800 (PST) (envelope-from arjan@nl.demon.net) Received: from bunker.noc.nl.demon.net ([194.159.72.217]) by binnen.mail.nl.demon.net with esmtp (Exim 3.12 #1) id 123Gba-0002QG-00 for freebsd-isp@freebsd.org; Wed, 29 Dec 1999 11:45:22 +0100 Received: from arjan (helo=localhost) by bunker.noc.nl.demon.net with local-esmtp (Exim 3.12 #2) id 123Gfg-000Itf-00 for freebsd-isp@freebsd.org; Wed, 29 Dec 1999 11:49:36 +0100 Date: Wed, 29 Dec 1999 11:49:36 +0100 (CET) From: Arjan van der Oest X-Sender: arjan@bunker.noc.nl.demon.net To: freebsd-isp@freebsd.org Subject: FreeBSD and Perl Message-ID: X-no-archive: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, We used to run our webservers on NetBSD but recently changed over to FreeBSD 3.3r. We've seen a lot of perl scripts break becase they start with the first line : #!/bin/perl -- -*-perl-*- NetBSD seemed to pass this as a single argument to the interpreter and perl ignored it. FreeBSD now seems to pass this line as two arguments to the interpreter, braking the script because it tries to open script -*-perl-*-. Besides the fact that I see no use of inserting "-- -*-perl-*-" in the scripts, does anyone recognises this problem ? How did you deal with this? We've got a lot of customers who use standard scripts and this line appears in a lot of examples/books/pre-written script, thus causing lots of people calling tech support. This problem applies afaik for different versions of perl. ao -- arjan van der oest - systems administrator - arjan@nl.demon.net Demon Internet NOC, Amsterdam. www.demon.nl My views cannot be held to represent those of Demon Internet... "Gewoon door mijn droom te onthouden..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message