What is the first line of the script?

If it isn't there already, perhaps you can add the -w switch and get more info from the script (or add it on the command line 'perl -w SCRIPTNAME').

If all else fails you could use the debug switch (-d)...

>>> jamie at getsetnet.net 03/09/01 10:37AM >>>


   When I type /usr/bin/perl SCRIPTNAME  

   - the program runs fine.


    and when I type which perl, I get:

[jamie at floyd jamie]$ which perl
/usr/bin/perl
[jamie at floyd jamie]$ 


    BTW, the script is set chmod 777 as well.

   - Jme







On Fri, 9 Mar 2001, Jim Crumley wrote:

> On Fri, Mar 09, 2001 at 10:15:45AM -0600, Jamie Ostrowski wrote:
> > 
> > 
> >     Yeah I have tried all these things but unfortunately none of them
> > work. I am a bit suspicious of one thing though. I am running Red Hat 6.2
> > and I installed Mandrake RPM's for the latest version of perl. I am
> > beginning to suspect there was something wrong with that. Maybe I needed
> > to use RedHat RPM's instead, but I thought Mandrake would be compatible. 
> 
> Well, what happens if you do /usr/bin/perl SCRIPTNAME?  What do you
> get if you type "which perl"?
> 
> 

-- 
  "It is a mistake to let any mechanical object realise that you are in a
hurry." --Ralph


_______________________________________________
tclug-list mailing list
tclug-list at mn-linux.org 
https://mailman.mn-linux.org/mailman/listinfo/tclug-list