in reply to Re^4: trouble with namespace::clean
in thread trouble with namespace::clean

Mixing the OS-installed (vendor installed) modules and the fresh distributed modules could cause problems in any languages environment.

Therefore myself using the anyenv for all my needs. The installation is straightforward:

$ 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

After you got installed the anyenv, you could install many different language environments, like plenv for the perl.

$ anyenv install plenv

and now you could install (compile) any perl version what exists in the repository

$ 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

Read more at plenv github page

Also, you probably will want to change all #!shebang lines, from

#!/usr/bin/perl to #!/usr/bin/env perl