Oh boy, there are still boxes out there that don't do #! magic number
8-(. That son of a deity whose names begins with J! Ok, here's the
hack directly from the perl (dromedary) book:
#! /usr/bin/perl
eval "exec /usr/bin/perl -S $0 $*"
if $running_under_some_shell;
See if that works for you. Obviously you will need to change
/usr/bin/perl to /xbin/perl. If it doesn't work there's an even
grodier hack that will for for both sh and csh, but lets see if the
simple one will do the trick.
Also I would hang onto this trick if I were you I am NOT planning on
putting it into the mainline distribution 8-).
Anybody else have a problem like this and have another way around it?
In message <v02110121ab9e5c9265c6@[192.152.7.48]>,
Doug Walker writes:
>I am trying to install Majordomo 1.93 on a Motorola Delta Model 3840 (68040
>processor) running Motorola's Unix SYS V68 R3V7 FE03.71 RM03. We are
>running sendmail version 5.65c/1.34 and perl 4.036.
>
>The problem I've run into is that:
>
> #!/xbin/perl
>
>at the top of each perl script in the Majordomo package is ignored by both
>sh and ksh.
-- John
John Rouillard
Senior Systems Administrator IDD Information Services
rouilj@dstar.iddis.com Waltham, MA (617) 890-7227 x337
(617) 487-3937 (Direct)
Senior Systems Consultant (SERL Project) University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
===============================================================================
My employers don't acknowledge my existence much less my opinions.
References:
|
|