summaryrefslogblamecommitdiff
path: root/posts/2009-08-23-perl5lib-and-zsh.md
blob: 4d66250a65f306924e9719bb4c90c390cdaf9773 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                
in my .zsh.d/S80_perl

```bash
BASE_PATH=~/code/work/rtgi
for perl_lib in $(ls $BASE_PATH); do
    if [ -f $BASE_PATH/$perl_lib/Makefile.PL ]; then
        PERL5LIB=${PERL5LIB:+$PERL5LIB:}$BASE_PATH/$perl_lib/lib
    fi
done
export PERL5LIB

```