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

Relative dir for local::lib doesn't work #150

Open
averms opened this issue Nov 24, 2021 · 0 comments
Open

Relative dir for local::lib doesn't work #150

averms opened this issue Nov 24, 2021 · 0 comments

Comments

@averms
Copy link

averms commented Nov 24, 2021

I have Perl 5.34 with local::lib installed through my Linux package manager. The following variables are exported

export PATH="perl_modules/bin${PATH:+:${PATH}}"
export PERL5LIB="perl_modules/lib/perl5"
export PERL_LOCAL_LIB_ROOT="perl_modules"
export PERL_MB_OPT="--install_base perl_modules"
export PERL_MM_OPT="INSTALL_BASE=perl_modules"

This is so I can have a perl_modules folder relative to my project folder, analagous to npm and node_modules. However, Installing anything with cpan installs to a perl_modules directory inside the build folder, i.e., ~/.cpan/build/CPAN-2.29-0/perl_modules.

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

No branches or pull requests

1 participant