Install Perl on Fedora
Alan J. Gagne
alanjgagne at gmail.com
Wed Jun 25 20:02:39 UTC 2008
Wei, Alice J. wrote:
>
> 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
>
If you execute [#which perl ] it should return /usr/bin/perl .
Do you have a line at the top of your total.pl script like this
(#!/usr/local/bin/perl).
It should read /usr/bin/perl.
Alan
More information about the fedora-list
mailing list