add PERL envs set_environment
fix dependencies
fix PERL_ROOT_PATH