On 10/29/10 Fri Oct 29, 2010 10:14 AM, "galeb abu-ali" <abuali...@gmail.com> scribbled:
> Hi, > > I'm new to perl. I recently installed RHEL 5.5 (it's the only Linux dist > allowed at my work place) and tried to upgrade from perl 5.8.8 (which came > with RHEL) to v 5.12.2. I didn't get any errors after going through the > config shell, make test, make install steps. But when I ask what the new > version is (perl -v), it still tells me 5.8.8. The RHEL tech support can't > help me as this is, for them, an unsupported perl version. Is there a way to > do this (I would need detailed instruction)? It doesn't necessarily need to > be v 5.12.2, but at least 5.10 and above. Are you trying to install Perl as root? Are you trying to install it in the same location as the existing 5.8.8 Perl? You are better off installing your new Perl in a different location, such as /usr/local/bin instead of /usr/bin. Then you will need to adjust your path so that you use the newer Perl by default. Have you done that? For scripts, put the path to the new Perl in the first line, e.g.: #!/usr/local/bin/perl ... You select the place to install perl with a -Dprefix= argument to Configure. See the INSTALL and README files that came with the download of the Perl distribution or one of the files in the hints directory. You can check if your new perl has been installed in /usr/local/bin by entering the following: /usr/local/bin/perl -v If that gets you "This is perl, v 5.12.2 ...", then all you have to do is adjust your path to use the new perl. How to do that depends upon the shell you use. echo $PATH should tell you what your current path is. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/