Am Montag, dem 25.04.2022 um 20:25 +0100 schrieb Dave Howorth via arch- general:
On Mon, 25 Apr 2022 17:57:15 +0200 Frank via arch-general <arch-general@lists.archlinux.org> wrote:
[snip]
#add Perl and Perl modules to file path export PATH="$(PATH):/usr/bin/core_perl/" export PATH="$(PATH):/usr/bin/vendor_perl/" export PATH="$(PATH):/usr/bin/site_perl/"
Others have pointed out the syntactic problem here, but I would like to ask about the semantics. I would expect the exact opposite ordering.
There doesn't seem any point in specifiying core to override vendor, which overrides site. In what circumstances is that useful?
I can understand the other way around where the vendor provides something better than standard perl, or you yourself have installed or written something better than either.
I son't recall when I put this in my .profile, there's been an anouncement to do so a while ago. However, as said this can be removed since /etc/profile.d/perlbin.sh is taking care of this now.