[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: DEVEL-ANNOUNCE: kiss-0.1.1
From:       Warwick Allison <warwick () troll ! no>
Date:       1999-01-22 15:01:07
[Download RAW message or body]

On Fri, 22 Jan 1999, Yannai A. Gonczarowski wrote:

>There is only one problem with that: where should the default path to 
>perl be? 

Excepting environments where $0 is not absolute, or not correct (in which case
you need more sh code), try:



#!/bin/sh
 
echo "This is sh"
exec perl -x "$0" "$@"

#!perl
 
print "This is Perl\n";        




I'm sure most Perl books have even more suggestions.

--
Warwick

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic