We don't bite newbies here... much | |
PerlMonks |
Re: "Installed" Perl 5.34 , sort ofby kcott (Archbishop) |
on May 06, 2022 at 01:07 UTC ( [id://11143611]=note: print w/replies, xml ) | Need Help?? |
G'day misterperl, You may find it's easier to use Perlbrew. This won't mess with the system Perl. (See ++choroba's comments re that.)
You can have multiple versions of Perl installed.
You can very easily switch between the different Perl versions you have installed.
If you start your scripts with the shebang
they will run using the current (`which perl`) version. This can be very useful when troubleshooting why a script worked successfully under one Perl version but not another: just run the script; switch version; run the script again. Installation of Perlbrew is straightforward; as is the installation of Perl versions. There's no need to go through the laborious effort of installing Perl by hand; there's no need to fiddle with $PATH; there's no need to change shebang lines. I've used Perlbrew on many different platforms for many years (1 to 2 decades) and can highly recommend it. Many other monks also use Perlbrew so, if you run into difficulties, there's plenty of help available. — Ken
In Section
Seekers of Perl Wisdom
|
|