Hi Remy,
I had experienced a similar problem before. I fixed by adding
the current directory in the variable PATH in .basg_profile.
In other words, append '.' to the PATH in your .bash_profile.
Hope this helps
Philip
> 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 :
>
> USERNAME=
> ENV=/home/remy/.bashrc
> HISTSIZE=1000
> HOSTNAME=fourier.amb-wash.fr
> LOGNAME=remy
> HISTFILESIZE=1000
> MAIL=/var/spool/mail/remy
> TERM=xterm
> HOSTTYPE=i386
> PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin/mh:/home/remy/bin:.
> HOME=/home/remy
> SHELL=/bin/bash
> PS1=[\u@\h \W]\$
> USER=remy
> OSTYPE=Linux
> SHLVL=1
> _=/usr/bin/env
>
> Does anybody have an idea about this problem ? Thanks for helping me.
>
> Remy
>
--
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.