How can I install specialized environments for different Perl applications?

后端 未结 8 1344
轻奢々
轻奢々 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:34

    Also checkout perl-virtualenv , this seems to be wrapper around local::lib as suggested by Hobbs, but creates a bin/activate and bin/deactivate so you can use it just like the python tool.

    I've been using it quite successfully for a month or so without realising it wasn't as standards as perhaps it should be.

    It makes it lot easier to set up a working virtualenv for perl as while local:lib will tell you what variables you need to set, etc. perl-virtualenv creates an activate script which does it for you.

提交回复
热议问题