How can I install specialized environments for different Perl applications?

后端 未结 8 1116
轻奢々
轻奢々 2021-01-31 19:00

Is there anything equivalent or close in terms of functionality to Python\'s virtualenv, but for Perl?

I\'ve done some development in Python and a possibility of having

8条回答
  •  一整个雨季
    2021-01-31 19:33

    Programs can modify what directories they check for libraries uwith use lib. This lib directory can be relative to the current directory. Libraries from these directories will be used before system libraries, as they are placed at the beginning of the @INC array.

    I believe cpan can also install libraries to specific directories. Granted, cpan draws from the CPAN site in order to install things, so this may not be the best option.

提交回复
热议问题