updated for perlbrew