From xemacs-m  Tue Apr  1 06:27:57 1997
Received: from macon.informatik.uni-tuebingen.de (macon2.Informatik.Uni-Tuebingen.De [134.2.13.2])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id GAA13273
	for <xemacs-beta@xemacs.org>; Tue, 1 Apr 1997 06:27:55 -0600 (CST)
Received: from modas.informatik.uni-tuebingen.de (modas.Informatik.Uni-Tuebingen.De [134.2.12.3]) by macon.informatik.uni-tuebingen.de (8.8.4/8.8.3/AIX-4.1/WSI-1.0) with SMTP id OAA17326 for <xemacs-beta@xemacs.org>; Tue, 1 Apr 1997 14:27:55 +0200
Received: by modas.informatik.uni-tuebingen.de (AIX 4.1/UCB 5.64/4.03)
          id AA15990; Tue, 1 Apr 1997 14:27:53 +0200
Sender: sperber@informatik.uni-tuebingen.de
To: xemacs-beta@xemacs.org
Subject: Re: pstogif
References: <y9lbu84yu26.fsf@modas.informatik.uni-tuebingen.de> <199703282129.NAA23960@xemacs.eng.sun.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=ISO-8859-1
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: 01 Apr 1997 14:27:53 +0200
In-Reply-To: Martin Buchholz's message of Fri, 28 Mar 1997 13:29:06 -0800
Message-Id: <y9l3etbszau.fsf@modas.informatik.uni-tuebingen.de>
Lines: 28
X-Mailer: Gnus v5.4.37/XEmacs 20.1(beta10)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by xemacs.org id GAA13275

>>>>> "Martin" == Martin Buchholz <mrb@Eng.Sun.COM> writes:

>>>>> "Michael" == Michael Sperber <sperber@informatik.uni-tuebingen.de> writes:

Michael> Second, pstogif should really use the Perl in the path (or else be
Michael> made autoconf-aware wrt this.)  I seem to remember there's a magic
Michael> incantation at the beginning of Perl scripts which will do that, but I
Michael> can't seem to find it in any Perl code I have lying around.

Martin> Here's the magic I use in all my perl scripts:

Martin> : # -*-Perl-*-
Martin> eval 'exec perl -w -S $0 ${1+"$@"}' # Portability kludge
Martin>     if 0;

I'm not sure I made myself clear:  How does Perl get executed when you 
start the script?  What I was thinking of was (I think) something that 
started like

#!/bin/sh
<magic incantation that would cause sh to start Perl and
 that Perl ignores>

-- 
Cheers =8-} Chipsy
Friede, Vlkerverstndigung und berhaupt blabla

