- or download this
$ git clone https://github.com/riywo/anyenv ~/.anyenv
$ echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.your_profile
$ echo 'eval "$(anyenv init -)"' >> ~/.your_profile
$ exec $SHELL -l
- or download this
$ anyenv install plenv
- or download this
$ plenv install -l #to show installable perl versions
$ plenv install 5.24.0 #install the 5.24.0
$ plenv global 5.24.0 #set the 5.24.0 as default perl for you
- or download this
#!/usr/bin/perl
to
#!/usr/bin/env perl