in reply to Re: Issue with ActivePerl installation on Fedora 20
in thread Issue with ActivePerl installation on Fedora 20

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.
  • Comment on Re^2: Issue with ActivePerl installation on Fedora 20

Replies are listed 'Best First'.
Re^3: Issue with ActivePerl installation on Fedora 20
by syphilis (Archbishop) on Sep 20, 2015 at 13:47 UTC
    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