From owner-freebsd-questions Thu Sep 13 23:50:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f76.law15.hotmail.com [64.4.23.76]) by hub.freebsd.org (Postfix) with ESMTP id 59F2E37B407 for ; Thu, 13 Sep 2001 23:50:38 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 13 Sep 2001 23:50:33 -0700 Received: from 209.204.136.26 by lw15fd.law15.hotmail.msn.com with HTTP; Fri, 14 Sep 2001 06:50:32 GMT X-Originating-IP: [209.204.136.26] From: "Chris Dritsas" To: freebsd-questions@freebsd.org Subject: Perl #! syntax support Date: Fri, 14 Sep 2001 01:50:32 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Sep 2001 06:50:33.0180 (UTC) FILETIME=[8CE2B9C0:01C13CE9] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Good Day, I am writing some perl and dont want to issue 'perl ' at the command prompt every time I wish to run my script. Reading Wall and Schwartz 'Progamming Perl', I find mention to my issue; "On systems that support the #! syntax for specifying the name of an interpreter, you can put a magical line at the front of the file so that the operating system knows what program to interpret your file with, like this: #!/usr/bin/perl" My system seems to not be supporting this syntax '#!'. My scripts run fine when I issue 'perl ' at the command prompt. Any ideas how to make my system support this syntax? Thanks... _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message