should use $self->env() instead of $ENV{} in these places.
avoid accessing PERLBREW_LIB env var directly.