You are not logged in.
Anyone ever had kind of this suddenly too :
$HOME/perl5/bin is always existing first of $PATH
?
where's it from, which thing generates it ?
hunch is it seems after install CPAN or perl related package else
where is the code which always put it in the very first of $PATH and how would be its prevention ?
Offline
Is this a question about what adds “~/perl5/bin” or why is it in front of other entries in `$PATH`?
What adds?
The two typical scenarios are: you added it yourself⁽¹⁾ or it comes from “/etc/profile.d”.
Why is it before other elements?
Probably to let the user’s private binaries override the global ones.
____
⁽¹⁾ This includes running some program, which added it behind your back.
Offline
" it comes from “/etc/profile.d” "
checked it many times, nothing there generates such, quite confused, this perl related things gets hateful
Offline
grep -rl perl5 /etc ~/.config/ 2>/dev/null
grep -l perl5 ~/.*"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
What is the actual problem you are facing with “~/perl5/bin” in `$PATH`? This should not affect anything unrelated to Perl and should affect nothing at all unless you use `cpanm`.
Offline