Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The procedures won't install CPAN modules into a user-local library #3

Open
HaraldJoerg opened this issue Jun 27, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@HaraldJoerg
Copy link
Collaborator

HaraldJoerg commented Jun 27, 2019

This was another finding from the Act hackathon at the French Perl Workshop 2019: The developer installation is targeted at dedicated VMs (with or without vagrant). The necessary CPAN modules are installed with cpanm under sudo, so they end up in system Perl. A setup where a developer wants to use a dedicated user id for testing, and install CPAN modules in this user's home directory, is not yet supported.

@HaraldJoerg HaraldJoerg added the enhancement New feature or request label Jun 27, 2019
@glauschwuffel
Copy link

Something along those lines perhaps?
This would even allow for installation of modules when working on specific tickets.

$ sudo apt-get install liblocal-lib-perl cpanminus
$ eval `perl -Mlocal::lib=/home/the-user/perl5/the-ticket-you-work-on`
$ cpanm Test::Class::Moose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants