For the requirement to modify $PERL5LIB, here's a helper script to make it even easier: push-p5-lib And you should have this alias to make it work better alias revar='source ~/.vars/*' ~/.vars directory should be created manually too. After this one-time setup, you could say: % push-p5-lib ~/dev/perl/*/lib % revar And setup $PERL5LIB to many 'lib' directory at once. Released under Artistic License.