summarylogtreecommitdiffstats
path: root/perlbin.sh
blob: e558f67f0066671cd6010d7757bb26816d8d30a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Set path to cperl scriptdirs if they exist
# https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts
# Added /usr/bin/*_cperl dirs for scripts
# Remove /usr/lib/cperl/*_cperl/bin in next release

[ -d /usr/bin/site_cperl ] && PATH=$PATH:/usr/bin/site_cperl
[ -d /usr/lib/cperl/site_cperl/bin ] && PATH=$PATH:/usr/lib/cperl/site_cperl/bin

[ -d /usr/bin/vendor_cperl ] && PATH=$PATH:/usr/bin/vendor_cperl
[ -d /usr/lib/cperl/vendor_cperl/bin ] && PATH=$PATH:/usr/lib/cperl/vendor_cperl/bin

[ -d /usr/bin/core_cperl ] && PATH=$PATH:/usr/bin/core_cperl

export PATH

# If you have modules in non-standard directories you can add them here.
#export PERLLIB=dir1:dir2