Open Grinnz opened 9 years ago
You are absolutely correct. entries in PERL5LIB are seperated with ":" instead of blank. cc our fish master @yanick here :)
Heh. Will be back from vacation tomorrow and will have a look at it then. :-)
@yanick ping ping =) Are you still on vacation?? O:-)
Oh god. I totally forgot about that. I'll check it out tomorrow. Pwomise.
On Sat, 7 May 2022, at 3:26 PM, Eugen Konkov wrote:
@yanick https://github.com/yanick ping ping =) Are you still on vacation?? O:-)
— Reply to this email directly, view it on GitHub https://github.com/gugod/App-perlbrew/issues/479#issuecomment-1120271153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAE34XDYJ5FFFVAWZ527YTVI27XTANCNFSM4BMGCWPA. You are receiving this because you were mentioned.Message ID: @.***>
Installing back perlbrew as we speak to check things out. Oooh the memories. :smiling_face_with_tear:
In fish shell, when PERL5LIB is already set to something and one switches to a local::lib such as
perlbrew use 5.22.0@testlib
, PERL5LIB is updated to be something like:This is incorrect, and results in the following @INC (the first entry does not represent an existing directory, so modules installed there are not found):
If PERL5LIB is updated to use : then @INC shows up correctly:
I believe this is because PERL5LIB is being set as if it was PATH, but it does not follow the rules of PATH, it is parsed by perl directly. Entries should be separated by : and not spaces, unlike with PATH, where spaces are used for fish shell. This also applies for any other environment vars used by perl directly, and not the shell.