revert partly daa2c94a370f959b9616b4b7fca0b2ef2cad99a2

the __perlbrew_purify failed to work on MacOS bash -- reverting it partially for now.