I just finished installing perl on my Linux 8.0 and I was testing perl with a simple print command and it doesn't display on my terminal I'm must be missing something really silly somewhere. Help of any kind will be appreciated and will be handsomely rewarded......
Hi,
first, you need to be more precise. There is no linux 8.0.
Linux is up to 2.6. Ther's Suse 8.0, RH etc.
So I assume you are referring to a distribution. If so,
mst of these distributions have some installation tools.
What is installed by default and put in the path
is up to the distribution. You can do a search for 'perl'
in / to see if perl is installed. If so, you need to either put it in the path or else start your scripts
with the perl location. If not, you need to install it.
For instance with Suse use Yast2, choose Install packages
and select perl from languages.
Make sure your perl program starts with a correct shebang (in your instance #!/usr/bin/perl).
If perl is installed correctly, running "perl -v" should tell you a story about your installation. This will also allow you to verify what you installed.
Funnily enough this sort of problem has just surfaced in the London.pm mailing list this week, an extract of which:
On 17 Feb (in a thread which ain't on this machine) Dirk Koopman wrote:
>Methinks there is much smelly fish in Perl 5.8.0 UTF implementation and also
>in RH8.0's internationalisation stuff / port of perl. A standard 'cure'
>seems to be to rename /etc/sysconfig/i18n to something else (eg i18n.orig)
>and then restart the machine.
>Suddenly things like man pages start to come out in something
>approaching english (ie without a load accented a's instead of <tab> and
>stuff) and your perl goes a lot faster.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.