Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need to run some perl script on diffrent enviroment Linux and unix. They all have diffrent path to perl. So I tried to use the shebang stuff mentiond in perldoc.
This works great in unix but not att the Linux redhat 7.2 machine. There I get the error#!/bin/sh -- # -*- perl -*- -p eval 'exec perl -wS $0 ${1+"$@"}' if 0;
I think I sneak in another question when I at it. What do you do when you creat an accont and you misspell the email adress so you do not get the mail with the initial password. I realy liked the nickname that I chose and would rather stick to it. Where should I send this question to get some wisdom in my unlighten world?/bin/sh: -- # -*- perl -*- -p: unrecognized option Usage: /bin/sh [GNU long option] [option] ... /bin/sh [GNU long option] [option] script-file ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: shebang and linux RH
by sauoq (Abbot) on Sep 05, 2002 at 20:58 UTC | |
Re: shebang and linux RH
by bluto (Curate) on Sep 05, 2002 at 21:30 UTC | |
Re: shebang and linux RH
by VSarkiss (Monsignor) on Sep 05, 2002 at 21:35 UTC | |
Re: shebang and linux RH
by rir (Vicar) on Sep 06, 2002 at 04:45 UTC |
Back to
Seekers of Perl Wisdom