If I understand correctly in order to use this perl version in my scripts I have to do two things. First add new perl path to environment $PATH variable by shell command "export PATH=$PATH:/opt/perl-version/bin/perl" and second, add this path with shebang to all script "#!/opt/perl-version/bin/perl". Is it ok ?
And the most important question how to install CPAN modules to that fresh instalation ?
Regards.
UPDATE:SOLVED! ;) As it turned out #!/opt/perl-5.16/bin/perl was right shebang.
Thanks you
In reply to Install CPAN module to another perl version by Martin90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |