Told to us by Remy FAURES ([EMAIL PROTECTED])
on Thu, Mar 19, 1998 at 11:42:41AM -0500

> Hi,
> 
> I experience a problem running a Perl program on a Linux 4.2 system.
> 
> Perl ver 5.003 with Embed is installed on my system, and the which perl
> command produce the following output : /usr/bin/perl
> 
> A perl program is located in my /home directory, and when I try to run it
> (entering either prog1.pl or ./prog1.pl), I receive the following message :
>   bash: ./prog1.pl: No such file or directory 
> 
> the env command produces the following output :

[environment listing snip'd]

If you check the first line of your prog1.pl file, you will most likely
find that the reference to where the perl executable is located is 
wrong.

#!/usr/local/bin/perl

#!/usr/bin/perl

Whatever... it needs to be a valid reference.  Otherwise you will get
the error message you are talking about...

-- 
==========================================================================
Kevin W. Reed (KWR10)                TNET Service - Disability Systems and
E-Mail: [EMAIL PROTECTED]                                Software Development
WEB: http://www.tnet.com        MAJORDOMO - MAILBOT Administration Account


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to