On 06/25/2008 12:52:22 PM, Wei, Alice J. wrote:
Hi, Fedora Users:
I am just starting out to use Fedora and learned about
installations
with the yum function.
I have installed Perl 5.10.0-26, and the message shows that it had
been installed:
Updated: perl.i386 4:5.10.0-26.fc9 perl-ExtUtils-MakeMaker.i386
0:6.36-26.fc9 perl-ExtUtils-ParseXS.i386 1:2.18-26.fc9
perl-Module-Pluggable.i386 1:3.60-26.fc9 perl-Pod-Escapes.i386
1:1.04-26.fc9 perl-Pod-Simple.i386 1:3.05-26.fc9
perl-Test-Harness.i386 0:2.64-26.fc9 perl-devel.i386 4:5.10.0-26.fc9
perl-libs.i386 4:5.10.0-26.fc9 perl-version.i386 3:0.74-26.fc9
Complete!
However, when I tried to execute a basic hello script in Perl, it
tells me
bash: ./total.pl: /usr/local/bin/perl: bad interpreter: No such file
or directory
It is true that I don't see Perl in this directory, but is it
necessary that I have to move my Perl installation?
What does "% locate perl" say? Put that after #! in the first line of
total.pl. Alternatively, try "% perl total.pl"