You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do carton exec, I see that /usr/local/share/perl5 is in @inc.
However exec's documentation clearly states that:
This command allows you to run your script in an isolated carton local environment, which means the perl 5 library path @inc are the only ones from perl's core library path, carton's library path (i.e. local/lib/perl5) and the current directory.
That directory is not perl's core library path. It contains modules installed by root with cpanm.
Could you please allow an option on exec that will exclude certain directories? Or exclude /usr/local/share/perl5 by default. Thanks.
The text was updated successfully, but these errors were encountered:
This behavior was removed in v0.9.56 because it was causing problems in many environments (#60, #70, #82), so the documentation should be updated instead.
If you really want this behavior, you can use lib::core::only module by yourself.
When I do carton exec, I see that /usr/local/share/perl5 is in @inc.
However exec's documentation clearly states that:
That directory is not perl's core library path. It contains modules installed by root with cpanm.
Could you please allow an option on exec that will exclude certain directories? Or exclude /usr/local/share/perl5 by default. Thanks.
The text was updated successfully, but these errors were encountered: