support PUREPERL_ONLY=1