in reply to Issue with ActivePerl installation on Fedora 20

So, where exactly is your problem?

Does the following command work?

/opt/perl/ActivePerl-5.20/bin/perl -v

Most likely, you want to add the following line to your ~/.bashrc:

export PATH=$PATH:/opt/perl/ActivePerl-5.20/bin

YOu might also want to investigate how to install the vendor-packaged Perl for your OS. Maybe yum perl installs the vendor packaged Perl package.

Replies are listed 'Best First'.
Re^2: Issue with ActivePerl installation on Fedora 20
by as00060 (Novice) on Sep 20, 2015 at 12:23 UTC
    Q) Does the following command work? /opt/perl/ActivePerl-5.20/bin/perl -v >> yes , it does. Q)Most likely, you want to add the following line to your ~/.bashrc: export PATH=$PATH:/opt/perl/ActivePerl-5.20/bin >> As I have mentioned earlier, I have already set the path, may not be with your suggested method though. My concern is that, in the given scenario, if I have to execute any perl program, I will have to mention entire path of the perl, I just want to avoid this limitation. e.g. if I execute "perl <xyz.pl>" from the location of the program "perl -v" from any location neither of them would work, for both the scenario, I will have to mention full path to perl,whereas this shouldn't be happening. If this issue could be resolved, I am good to go.
      I have already set the path

      If you still need to invoke perl by specifying the entire path, then you haven't set the path correctly.
      (Once it's set correctly you won't need to specify the full path and you'll be able to invoke perl as simply perl)

      Cheers,
      Rob