I had perl version 5.8.8 installed in my system. I have installed 5.10.0 at /usr/local/bin/perl. but when i restarted my linux box now the default perl path has been changed.
which perl
/usr/local/bin/perl
I want to use perl version 5.10.0 but also want to keep default path to /usr/bin/perl (version 5.8.8).
I have tried to make an alias in my bash profile but after doing this I am not able to use perl 5.10. Can you please suggest me the way to fix this issue.