perllocallib

Deactivate and Remove Perl Local::Lib


I would like to deactivate the environment variables and remove the appended /home/myusername/perl5.. directories from @INC that were a result of Local::Lib. Can anyone advise? I really would like to get back to the state of perl ENV vars and @INC folders before Local::Lib. I am on Fedora 16.


Solution

  • Did you read the instructions? In your shell,

    eval $(perl -Mlocal::lib=--deactivate-all)